=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.h,v retrieving revision 1.500 retrieving revision 1.501 diff -u -r1.500 -r1.501 --- src/usr.bin/tmux/tmux.h 2015/04/25 18:09:28 1.500 +++ src/usr.bin/tmux/tmux.h 2015/04/25 18:33:59 1.501 @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.500 2015/04/25 18:09:28 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.501 2015/04/25 18:33:59 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -950,7 +950,6 @@ }; TAILQ_HEAD(window_panes, window_pane); RB_HEAD(window_pane_tree, window_pane); -ARRAY_DECL(window_pane_list, struct window_pane *); /* Window structure. */ struct window { @@ -1101,7 +1100,6 @@ RB_ENTRY(session) entry; }; RB_HEAD(sessions, session); -ARRAY_DECL(sessionslist, struct session *); /* TTY information. */ struct tty_key { @@ -1255,7 +1253,9 @@ /* Saved message entry. */ struct message_entry { char *msg; + u_int msg_num; time_t msg_time; + TAILQ_ENTRY(message_entry) entry; }; /* Status output data from a job. */ @@ -1327,7 +1327,8 @@ char *message_string; struct event message_timer; - ARRAY_DECL(, struct message_entry) message_log; + u_int message_next; + TAILQ_HEAD(, message_entry) message_log; char *prompt_string; char *prompt_buffer;