Skip to content

Commit

Permalink
utils: drop concept of STATIC vs static
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Mar 23, 2011
1 parent 202fe24 commit e2e40d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 3 additions & 3 deletions libvty/vty.c
Expand Up @@ -19,9 +19,9 @@
#include "vty_cli_cmds.h"
#include "vty_utils.h"

STATIC int vty_max_connections = KNET_VTY_DEFAULT_MAX_CONN;
STATIC int vty_current_connections = 0;
STATIC int daemon_quit = 0;
static int vty_max_connections = KNET_VTY_DEFAULT_MAX_CONN;
static int vty_current_connections = 0;
static int daemon_quit = 0;

pthread_mutex_t knet_vty_mutex = PTHREAD_MUTEX_INITIALIZER;
int knet_vty_config = -1;
Expand Down
6 changes: 0 additions & 6 deletions utils.h
Expand Up @@ -9,12 +9,6 @@
extern int utils_debug;
extern int utils_syslog;

#ifndef TEST
#define STATIC static
#else
#define STATIC
#endif

#define log_debug(fmt, args...) \
do { \
if (utils_debug) { \
Expand Down

0 comments on commit e2e40d5

Please sign in to comment.