summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-04-23 10:28:56 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-04-23 10:28:56 +0000
commit327ad645dd25109ceaa3fe754d9913b304473288 (patch)
tree08424d4efd50d2541050a36e3f4ee05b60f49774 /source3/utils
parent06403c439fd00673b0bdffe0b34df1cd2d475df8 (diff)
downloadsamba-327ad645dd25109ceaa3fe754d9913b304473288.tar.gz
samba-327ad645dd25109ceaa3fe754d9913b304473288.tar.bz2
samba-327ad645dd25109ceaa3fe754d9913b304473288.zip
Fix up non-constant initialisers for Sun's CC.
Andrew Bartlett (This used to be commit 82ba1b4d16da587c5e21739b11c5d84a575534ad)
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" },