From 873749f2189ecf1fbfdc681df4dd304a17716279 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 6 Sep 2006 12:28:01 +0000 Subject: r18168: Use {NULL} rather than POPT_TABLEEND, which is not always available. (This used to be commit 8b622c5ded0732df0eaf9f6226f52a27b6eacd73) --- source4/torture/smbiconv.c | 2 +- source4/torture/smbtorture.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture') diff --git a/source4/torture/smbiconv.c b/source4/torture/smbiconv.c index 0cd16278ee..02f053395d 100644 --- a/source4/torture/smbiconv.c +++ b/source4/torture/smbiconv.c @@ -183,7 +183,7 @@ int main(int argc, char *argv[]) { "to-code", 't', POPT_ARG_STRING, &to, 0, "Encoding for output" }, { "output", 'o', POPT_ARG_STRING, &output, 0, "Write output to this file" }, { "preload-modules", 'p', POPT_ARG_STRING, &preload_modules[0], 0, "Modules to load" }, - POPT_TABLEEND + { NULL } }; setlinebuf(stdout); diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c index d66e11b01b..b924b37c23 100644 --- a/source4/torture/smbtorture.c +++ b/source4/torture/smbtorture.c @@ -410,7 +410,7 @@ const static struct torture_ui_ops quiet_ui_ops = { POPT_COMMON_CONNECTION POPT_COMMON_CREDENTIALS POPT_COMMON_VERSION - POPT_TABLEEND + { NULL } }; #ifdef HAVE_SETBUFFER -- cgit