From 9e361ec4b0fbf61fc743bae78ab1b6e30c4a2742 Mon Sep 17 00:00:00 2001 From: Karl Ramm Date: Sat, 19 Jan 2013 19:43:37 -0500 Subject: 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. --- server/bdump.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'server/bdump.c') 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); -- cgit v1.2.3