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 | efea76ac71412f8622cd233912309e91b9ea52da (patch) | |
tree | 76eb8431f1185778c29fb3adbc8d1b0e724af38c /source/lib/substitute.c | |
parent | c8f808b0763f7abcc0d879057f4f17002e65b4e1 (diff) | |
download | samba-efea76ac71412f8622cd233912309e91b9ea52da.tar.gz samba-efea76ac71412f8622cd233912309e91b9ea52da.tar.xz samba-efea76ac71412f8622cd233912309e91b9ea52da.zip |
r6225: get rid of warnings from my compiler about nested externs
Diffstat (limited to 'source/lib/substitute.c')
-rw-r--r-- | source/lib/substitute.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/lib/substitute.c b/source/lib/substitute.c index 615a8d73b0a..af30e900ace 100644 --- a/source/lib/substitute.c +++ b/source/lib/substitute.c @@ -21,6 +21,8 @@ #include "includes.h" +extern struct current_user current_user; + fstring local_machine=""; fstring remote_arch="UNKNOWN"; userdom_struct current_user_info; @@ -800,7 +802,6 @@ char *alloc_sub_conn(connection_struct *conn, const char *str) void standard_sub_snum(int snum, char *str, size_t len) { - extern struct current_user current_user; static uid_t cached_uid = -1; static fstring cached_user; /* calling uidtoname() on every substitute would be too expensive, so |