diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-03 09:17:00 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-03 09:17:00 +0000 |
commit | 7ccdbf392d87fc7ad9e79dc5a642c415386a72aa (patch) | |
tree | 2cb09deefc5e96b7e0f0393d97b05ef4eb0ba035 /tmux.c | |
parent | ef91aac6887e82b77ca3dff8bcffaffab0a8ec08 (diff) | |
download | rtmux-7ccdbf392d87fc7ad9e79dc5a642c415386a72aa.tar.gz rtmux-7ccdbf392d87fc7ad9e79dc5a642c415386a72aa.tar.bz2 rtmux-7ccdbf392d87fc7ad9e79dc5a642c415386a72aa.zip |
Sprinkle some const.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.c,v 1.19 2007-10-02 17:35:00 nicm Exp $ */ +/* $Id: tmux.c,v 1.20 2007-10-03 09:17:00 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -44,7 +44,7 @@ struct op { const char *alias; int (*fn)(char *, int, char **); }; -struct op op_table[] = { +const struct op op_table[] = { { "attach", NULL, op_attach }, { "list-sessions", "ls", op_list_sessions }, { "list-windows", "lsw", op_list_windows }, @@ -158,7 +158,7 @@ sigreset(void) int main(int argc, char **argv) { - struct op *op, *found; + const struct op *op, *found; char *path; int opt; u_int i; |