From 856b1bb1ef4ced9c682fbe411c43bae9d5cde5e9 Mon Sep 17 00:00:00 2001 From: Pavel Tvrdik Date: Mon, 25 Apr 2016 16:43:28 +0200 Subject: [PATCH] BIRD Client: cleaning code --- client/client.c | 7 ++++--- client/client.h | 2 -- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/client/client.c b/client/client.c index e4bb568b..4f7cce1d 100644 --- a/client/client.c +++ b/client/client.c @@ -36,8 +36,9 @@ #include "sysdep/unix/unix.h" #include "client/reply_codes.h" -#define SERVER_READ_BUF_LEN 4096 -#define INPUT_BUF_LEN 2048 +#define SERVER_READ_BUF_LEN 4096 +#define INPUT_BUF_LEN 2048 +#define REFRESH_SYMBOLS_CMD "refresh symbols" /* Name of cli command for retrieve new symbols from daemon */ static char *opt_list = "s:vr"; static int verbose, restricted, once; @@ -196,7 +197,7 @@ add_to_symbols(int flag, const char *name) void retrieve_symbols(void) { - /* purge old symbols */ + /* Purge old symbols */ list *syms = cli_get_symbol_list(); struct cli_symbol *sym, *next; WALK_LIST_DELSAFE(sym, next, *syms) diff --git a/client/client.h b/client/client.h index a80273d9..3b77ed89 100644 --- a/client/client.h +++ b/client/client.h @@ -9,8 +9,6 @@ #ifndef _BIRD_CLIENT_H_ #define _BIRD_CLIENT_H_ -#define REFRESH_SYMBOLS_CMD "refresh symbols" - extern int init, busy, interactive; extern int term_lns, term_cls;