=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/notify.c,v retrieving revision 1.8 retrieving revision 1.9 diff -c -r1.8 -r1.9 *** src/usr.bin/tmux/notify.c 2015/06/05 18:18:32 1.8 --- src/usr.bin/tmux/notify.c 2016/10/10 21:29:23 1.9 *************** *** 1,4 **** ! /* $OpenBSD: notify.c,v 1.8 2015/06/05 18:18:32 nicm Exp $ */ /* * Copyright (c) 2012 George Nachman --- 1,4 ---- ! /* $OpenBSD: notify.c,v 1.9 2016/10/10 21:29:23 nicm Exp $ */ /* * Copyright (c) 2012 George Nachman *************** *** 43,54 **** TAILQ_ENTRY(notify_entry) entry; }; ! TAILQ_HEAD(, notify_entry) notify_queue = TAILQ_HEAD_INITIALIZER(notify_queue); ! int notify_enabled = 1; ! void notify_drain(void); ! void notify_add(enum notify_type, struct client *, struct session *, ! struct window *); void notify_enable(void) --- 43,55 ---- TAILQ_ENTRY(notify_entry) entry; }; ! TAILQ_HEAD(notify_queue, notify_entry); ! static struct notify_queue notify_queue = TAILQ_HEAD_INITIALIZER(notify_queue); ! static int notify_enabled = 1; ! static void notify_drain(void); ! static void notify_add(enum notify_type, struct client *, struct session *, ! struct window *); void notify_enable(void) *************** *** 63,69 **** notify_enabled = 0; } ! void notify_add(enum notify_type type, struct client *c, struct session *s, struct window *w) { --- 64,70 ---- notify_enabled = 0; } ! static void notify_add(enum notify_type type, struct client *c, struct session *s, struct window *w) { *************** *** 84,90 **** w->references++; } ! void notify_drain(void) { struct notify_entry *ne, *ne1; --- 85,91 ---- w->references++; } ! static void notify_drain(void) { struct notify_entry *ne, *ne1;