summaryrefslogtreecommitdiffstats
path: root/source/lib/substitute.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-08-11 02:30:35 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-08-11 02:30:35 +0000
commitf393de2310e997d05674eb7f1268655373e03647 (patch)
treeafede54573462ecb7482aef97475eee686f95eb9 /source/lib/substitute.c
parente57a896f06b16fe7e336e1ae63a0c9e4cc75fd36 (diff)
downloadsamba-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.c4
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;