Add static to satisfy exotic compilers
authorJelmer Vernooij <jelmer@samba.org>
Mon, 24 Mar 2003 16:16:13 +0000 (16:16 +0000)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 24 Mar 2003 16:16:13 +0000 (16:16 +0000)
(This used to be commit 269c93ca269e5badd5475d9ad53d06f9cb111d2c)

source3/client/client.c

index da4f0257555e71a4ace2775e818652340dbc5e5d..b6c4b704a9b494c752182885fd223a5a32a1edcf 100644 (file)
@@ -2583,7 +2583,7 @@ static void remember_query_host(const char *arg,
        BOOL message = False;
        extern char tar_type;
        pstring term_code;
-       const char *new_name_resolve_order = NULL;
+       static const char *new_name_resolve_order = NULL;
        poptContext pc;
        char *p;
        int rc = 0;