summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-08-22 20:39:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:16:31 -0500
commite7f56e45b2c5e952208c0a0755ed04185dc7c8f2 (patch)
treee519f02bf92a20ba3194e9fc6756cf747f3b4e22 /source4/lib/ldb
parent7c5bb2bce7453ef9289c5dfff509442f9ae8b199 (diff)
downloadsamba-e7f56e45b2c5e952208c0a0755ed04185dc7c8f2.tar.gz
samba-e7f56e45b2c5e952208c0a0755ed04185dc7c8f2.tar.bz2
samba-e7f56e45b2c5e952208c0a0755ed04185dc7c8f2.zip
r17719: ldb_cmdline needs to be static for cc on solaris
(This used to be commit db4d99f35b6874da01d0a1c68d64bd73635a7ec9)
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/tools/cmdline.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/ldb/tools/cmdline.c b/source4/lib/ldb/tools/cmdline.c
index f71b6eea69..1fd14d1739 100644
--- a/source4/lib/ldb/tools/cmdline.c
+++ b/source4/lib/ldb/tools/cmdline.c
@@ -39,7 +39,8 @@
struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb, int argc, const char **argv,
void (*usage)(void))
{
- struct ldb_cmdline options, *ret=NULL;
+ static struct ldb_cmdline options; /* needs to be static for older compilers */
+ struct ldb_cmdline *ret=NULL;
poptContext pc;
#ifdef _SAMBA_BUILD_
int r;