* samba/lib/util.c (remote_machine, local_machine): Make static const

char * instead of fstring.
This commit is contained in:
Andrew V. Samoilov 2005-01-20 11:23:07 +00:00
parent 43414d8182
commit 4ea1aba1e0
2 changed files with 4 additions and 3 deletions

View File

@ -3,8 +3,9 @@
* samba/lib/util.c: Comment out some more unused functions.
(global_myworkgroup): Remove unused variable.
(def_finfo): Make const.
(remote_proto, remote_arch): Make const char * instead of
(remote_proto, remote_arch): Make static const char * instead of
fstring.
(local_machine, remote_machine): Ditto.
* samba/libsmb/clientgen.c (interpret_long_filename): Fix
def_finfo declaration.

View File

@ -86,8 +86,8 @@ BOOL use_mangled_map = False;
BOOL short_case_preserve;
BOOL case_mangle;
fstring remote_machine="";
fstring local_machine="";
static const char *remote_machine = "";
static const char *local_machine = "";
static const char *remote_arch = "UNKNOWN";
static enum remote_arch_types ra_type = RA_UNKNOWN;
static const char *remote_proto = "UNKNOWN";