From e13d51373916672185cf2a5b91efc5e187102803 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 30 Apr 2003 13:22:02 +0000 Subject: Sun CC requires constant initialisers, so use a static here. (a common bug with popt stuff, becouse it's fine with GCC). (This used to be commit edbab685d181887f8cb055cc9dc175b2772bd0ff) --- source3/utils/smbcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c index 8b984d9bd1..06add6af22 100644 --- a/source3/utils/smbcontrol.c +++ b/source3/utils/smbcontrol.c @@ -674,7 +674,7 @@ int main(int argc, char **argv) poptContext pc; int opt; - struct poptOption wbinfo_options[] = { + static struct poptOption wbinfo_options[] = { { "timeout", 't', POPT_ARG_INT, &timeout, 't', "Set timeout value in seconds", "TIMEOUT" }, -- cgit