mirror of https://github.com/MidnightCommander/mc
* samba/lib/util.c (remote_machine, local_machine): Make static const
char * instead of fstring.
This commit is contained in:
parent
43414d8182
commit
4ea1aba1e0
|
@ -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.
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue