Update of /cvsroot/tmux/tmux
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv11844

Modified Files:
        tty-keys.c 
Log Message:
Sync OpenBSD patchset 821:

Key table should be const.


Index: tty-keys.c
===================================================================
RCS file: /cvsroot/tmux/tmux/tty-keys.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- tty-keys.c  6 Jun 2010 00:23:44 -0000       1.57
+++ tty-keys.c  3 Jan 2011 23:29:49 -0000       1.58
@@ -54,7 +54,7 @@
  * Default key tables. Those flagged with TTYKEY_RAW are inserted directly,
  * otherwise they are looked up in terminfo(5).
  */
-struct tty_key_ent tty_keys[] = {
+const struct tty_key_ent tty_keys[] = {
        /*
         * Numeric keypad. Just use the vt100 escape sequences here and always
         * put the terminal into keypad_xmit mode. Translation of numbers
@@ -343,9 +343,9 @@
 void
 tty_keys_init(struct tty *tty)
 {
-       struct tty_key_ent      *tke;
-       u_int                    i;
-       const char              *s;
+       const struct tty_key_ent        *tke;
+       u_int                            i;
+       const char                      *s;
 
        tty->key_tree = NULL;
        for (i = 0; i < nitems(tty_keys); i++) {


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to