From 364ff81ffb6d7d4da023fe10339f2882b63a1f24 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 17 Aug 1998 16:48:17 +0000 Subject: [PATCH] Update. 1998-08-17 Ulrich Drepper * posix/tstgetopt.c (options): Add NULL entry at end Patch by Adrian Miranda . --- ChangeLog | 5 +++++ posix/tstgetopt.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 709ff7c..2996fd6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1998-08-17 Ulrich Drepper + + * posix/tstgetopt.c (options): Add NULL entry at end + Patch by Adrian Miranda . + 1998-08-15 18:21 Ulrich Drepper * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD diff --git a/posix/tstgetopt.c b/posix/tstgetopt.c index 2258b20..40cf3d9 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; -- 2.7.4