Sync OpenBSD patchset 822:

Another table that should be const.
This commit is contained in:
Tiago Cunha
2011-01-03 23:30:43 +00:00
parent d9c848d3a6
commit 9ad028e8ee
3 changed files with 38 additions and 37 deletions

4
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.597 2011-01-03 23:27:54 tcunha Exp $ */
/* $Id: tmux.h,v 1.598 2011-01-03 23:30:43 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -1422,7 +1422,7 @@ void tty_cmd_reverseindex(struct tty *, const struct tty_ctx *);
/* tty-term.c */
extern struct tty_terms tty_terms;
extern struct tty_term_code_entry tty_term_codes[NTTYCODE];
extern const struct tty_term_code_entry tty_term_codes[NTTYCODE];
struct tty_term *tty_term_find(char *, int, const char *, char **);
void tty_term_free(struct tty_term *);
int tty_term_has(struct tty_term *, enum tty_code_code);