summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-04-30 13:22:02 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-04-30 13:22:02 +0000
commite13d51373916672185cf2a5b91efc5e187102803 (patch)
tree402f0978953dacefc2240b558ad2271b0fb22aa6 /source3/utils
parentad9109d12b981c6275a4db986fe1fdbd0f555c44 (diff)
downloadsamba-e13d51373916672185cf2a5b91efc5e187102803.tar.gz
samba-e13d51373916672185cf2a5b91efc5e187102803.tar.bz2
samba-e13d51373916672185cf2a5b91efc5e187102803.zip
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)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/smbcontrol.c2
1 files changed, 1 insertions, 1 deletions
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" },