There is no longer a need for a paste_stack struct or for global_buffers

to be global. Move to paste.c.
This commit is contained in:
nicm
2014-04-24 09:14:43 +00:00
parent 7ab2690be8
commit bec6c807cd
14 changed files with 63 additions and 66 deletions

View File

@ -51,8 +51,6 @@ int server_shutdown;
struct event server_ev_accept;
struct event server_ev_second;
struct paste_stack global_buffers;
int server_create_socket(void);
void server_loop(void);
int server_should_shutdown(void);
@ -147,7 +145,6 @@ server_start(int lockfd, char *lockfile)
RB_INIT(&sessions);
RB_INIT(&dead_sessions);
TAILQ_INIT(&session_groups);
ARRAY_INIT(&global_buffers);
mode_key_init_trees();
key_bindings_init();
utf8_build();