1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

r17719: ldb_cmdline needs to be static for cc on solaris

(This used to be commit db4d99f35b)
This commit is contained in:
Andrew Tridgell 2006-08-22 20:39:01 +00:00 committed by Gerald (Jerry) Carter
parent 7c5bb2bce7
commit e7f56e45b2

View File

@ -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;