r18168: Use {NULL} rather than POPT_TABLEEND, which is not always available.
[bbaumbach/samba-autobuild/.git] / source4 / lib / registry / tools / regpatch.c
index 6e584e90a816bde4ec45b42cc96a9b44e025b193..7ed246566cb4418201d2747724079fbba4028f22 100644 (file)
@@ -39,7 +39,7 @@ int main(int argc, char **argv)
                {"remote", 'R', POPT_ARG_STRING, &remote, 0, "connect to specified remote server", NULL},
                POPT_COMMON_SAMBA
                POPT_COMMON_CREDENTIALS
-               POPT_TABLEEND
+               { NULL }
        };
 
        pc = poptGetContext(argv[0], argc, (const char **) argv, long_options,0);