diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-08-11 02:30:35 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-08-11 02:30:35 +0000 |
commit | f393de2310e997d05674eb7f1268655373e03647 (patch) | |
tree | afede54573462ecb7482aef97475eee686f95eb9 /source/lib/substitute.c | |
parent | e57a896f06b16fe7e336e1ae63a0c9e4cc75fd36 (diff) | |
download | samba-f393de2310e997d05674eb7f1268655373e03647.tar.gz samba-f393de2310e997d05674eb7f1268655373e03647.tar.xz samba-f393de2310e997d05674eb7f1268655373e03647.zip |
Make 'remote_machine' private to lib/substitute.c, and fix all the user to use
the new accessor functions.
Andrew Bartlett
Diffstat (limited to 'source/lib/substitute.c')
-rw-r--r-- | source/lib/substitute.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/lib/substitute.c b/source/lib/substitute.c index c47b5914f1d..026df0f67f1 100644 --- a/source/lib/substitute.c +++ b/source/lib/substitute.c @@ -25,9 +25,11 @@ fstring local_machine=""; fstring remote_arch="UNKNOWN"; userdom_struct current_user_info; fstring remote_proto="UNKNOWN"; -fstring remote_machine=""; extern pstring global_myname; +static fstring remote_machine=""; + + void set_local_machine_name(const char* local_name) { fstring tmp_local_machine; |