summaryrefslogtreecommitdiffstats
path: root/cmd-server-info.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-01-01 03:32:28 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-01-01 03:32:28 +0000
commit5d0cfe079b5c1309c40fc5bfd76f7786059577d5 (patch)
treea9c351d830ca940a898a3fd36d873f8b6863c1e7 /cmd-server-info.c
parent1c86713afd3e6d42547f64daa520992c74f3cdcd (diff)
Another table that should be const.
Diffstat (limited to 'cmd-server-info.c')
-rw-r--r--cmd-server-info.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/cmd-server-info.c b/cmd-server-info.c
index a114bf05..51a42219 100644
--- a/cmd-server-info.c
+++ b/cmd-server-info.c
@@ -48,24 +48,24 @@ const struct cmd_entry cmd_server_info_entry = {
int
cmd_server_info_exec(unused struct cmd *self, struct cmd_ctx *ctx)
{
- struct tty_term *term;
- struct client *c;
- struct session *s;
- struct winlink *wl;
- struct window *w;
- struct window_pane *wp;
- struct tty_code *code;
- struct tty_term_code_entry *ent;
- struct utsname un;
- struct job *job;
- struct grid *gd;
- struct grid_line *gl;
- u_int i, j, k;
- char out[80];
- char *tim;
- time_t t;
- u_int lines, ulines;
- size_t size, usize;
+ struct tty_term *term;
+ struct client *c;
+ struct session *s;
+ struct winlink *wl;
+ struct window *w;
+ struct window_pane *wp;
+ struct tty_code *code;
+ const struct tty_term_code_entry *ent;
+ struct utsname un;
+ struct job *job;
+ struct grid *gd;
+ struct grid_line *gl;
+ u_int i, j, k;
+ char out[80];
+ char *tim;
+ time_t t;
+ u_int lines, ulines;
+ size_t size, usize;
tim = ctime(&start_time);
*strchr(tim, '\n') = '\0';