summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/popt_common.c2
-rw-r--r--source3/rpcclient/samsync.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/popt_common.c b/source3/lib/popt_common.c
index 288cd41b27..a3d6af4fbc 100644
--- a/source3/lib/popt_common.c
+++ b/source3/lib/popt_common.c
@@ -45,5 +45,5 @@ struct poptOption popt_common_debug[] = {
{ NULL, 0, POPT_ARG_CALLBACK, debug_callback },
{ "debuglevel", 'd', POPT_ARG_INT, NULL, 'd', "Set debug level",
"DEBUGLEVEL" },
- POPT_TABLEEND
+ { 0 }
};
diff --git a/source3/rpcclient/samsync.c b/source3/rpcclient/samsync.c
index 938a843d15..3694eb47df 100644
--- a/source3/rpcclient/samsync.c
+++ b/source3/rpcclient/samsync.c
@@ -594,7 +594,7 @@ struct poptOption popt_common_auth_info[] = {
"[DOMAIN\\]username[%password]" },
{ "domain", 'W', POPT_ARG_STRING, NULL, 'W', "Set domain name",
"DOMAIN"},
- POPT_TABLEEND
+ { 0 }
};
static BOOL popt_interactive;
@@ -607,7 +607,7 @@ BOOL popt_common_is_interactive(void)
struct poptOption popt_common_interactive[] = {
{ "interactive", 'i', POPT_ARG_NONE, &popt_interactive, 'i',
"Log to stdout" },
- POPT_TABLEEND
+ { 0 }
};
int main(int argc, char **argv)
@@ -634,7 +634,7 @@ struct poptOption popt_common_interactive[] = {
{ NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_auth_info },
{ NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_interactive },
POPT_AUTOHELP
- POPT_TABLEEND
+ { 0 }
};
/* Read command line options */