diff options
author | Herb Lewis <herb@samba.org> | 2005-04-06 16:28:04 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:30 -0500 |
commit | 978ca8486031e43754a3c23757f361bf3a85f335 (patch) | |
tree | 109bd3ff560afcbd74296990d9554859cb2fb78f /source3/lib/util.c | |
parent | 60dd0d0f9c277eb9852924aea81fee06b7395832 (diff) | |
download | samba-978ca8486031e43754a3c23757f361bf3a85f335.tar.gz samba-978ca8486031e43754a3c23757f361bf3a85f335.tar.bz2 samba-978ca8486031e43754a3c23757f361bf3a85f335.zip |
r6225: get rid of warnings from my compiler about nested externs
(This used to be commit efea76ac71412f8622cd233912309e91b9ea52da)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index b76d561ccd..d244e390d2 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -23,6 +23,11 @@ #include "includes.h" +extern fstring local_machine; +extern char *global_clobber_region_function; +extern unsigned int global_clobber_region_line; +extern fstring remote_arch; + /* Max allowable allococation - 256mb - 0x10000000 */ #define MAX_ALLOC_SIZE (1024*1024*256) @@ -230,7 +235,6 @@ BOOL set_netbios_aliases(const char **str_array) BOOL init_names(void) { - extern fstring local_machine; char *p; int n; @@ -1453,8 +1457,6 @@ void smb_panic2(const char *why, BOOL decrement_pid_count ) #ifdef DEVELOPER { - extern char *global_clobber_region_function; - extern unsigned int global_clobber_region_line; if (global_clobber_region_function) { DEBUG(0,("smb_panic: clobber_region() last called from [%s(%u)]\n", @@ -1919,7 +1921,6 @@ void ra_lanman_string( const char *native_lanman ) void set_remote_arch(enum remote_arch_types type) { - extern fstring remote_arch; ra_type = type; switch( type ) { case RA_WFWG: |