diff options
author | Karl Ramm <kcr@1ts.org> | 2013-01-19 19:43:37 -0500 |
---|---|---|
committer | Karl Ramm <kcr@1ts.org> | 2013-03-16 23:57:54 -0700 |
commit | 9e361ec4b0fbf61fc743bae78ab1b6e30c4a2742 (patch) | |
tree | f00a4a69a9c942c8c593dbc2049212265be55f2c /server/bdump.c | |
parent | c88af26f7f05d532ab46ab8b2ff22e20d05fa13d (diff) |
rearrange so that most of the server code can be linked without main.c
Move global variables and one function out of main.c so that the rest of
the server can be linked with a test harness.
Diffstat (limited to 'server/bdump.c')
-rw-r--r-- | server/bdump.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/bdump.c b/server/bdump.c index 505e582..344adcf 100644 --- a/server/bdump.c +++ b/server/bdump.c @@ -105,8 +105,6 @@ static Z_AuthProc bdump_auth_proc; int bdumping; int bdump_concurrent; -extern char *bdump_version; -extern int bdump_auth_proto; /* * Functions for performing a brain dump between servers. @@ -201,7 +199,7 @@ bdump_offer(struct sockaddr_in *who) /* myname is the hostname */ /* the class instance is the version number, here it is */ - /* bdump_version, which is set in main */ + /* bdump_version, which is set in global.c */ send_list(ACKED, srv_addr.sin_port, ZEPHYR_ADMIN_CLASS, bdump_version, ADMIN_BDUMP, myname, "", lyst, 2); |