about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/tstgetopt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/posix/tstgetopt.c b/posix/tstgetopt.c
index 2258b20770..40cf3d9c82 100644
--- a/posix/tstgetopt.c
+++ b/posix/tstgetopt.c
@@ -9,9 +9,10 @@ main (int argc, char **argv)
     {
       {"required", required_argument, NULL, 'r'},
       {"optional", optional_argument, NULL, 'o'},
-      {"none",     no_argument,       NULL, 'n'}
+      {"none",     no_argument,       NULL, 'n'},
+      {NULL,       0,                 NULL, 0 }
     };
-   
+
   int aflag = 0;
   int bflag = 0;
   char *cvalue = NULL;