aboutsummaryrefslogtreecommitdiff
path: root/posix/tstgetopt.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-08-17 16:48:17 +0000
committerUlrich Drepper <drepper@redhat.com>1998-08-17 16:48:17 +0000
commit364ff81ffb6d7d4da023fe10339f2882b63a1f24 (patch)
tree01140176b70ac77a62ebb975ef66a3310b01488e /posix/tstgetopt.c
parent5d7de7aa2112e3d0f50a1c34d981a0559651d949 (diff)
downloadglibc-364ff81ffb6d7d4da023fe10339f2882b63a1f24.zip
glibc-364ff81ffb6d7d4da023fe10339f2882b63a1f24.tar.gz
glibc-364ff81ffb6d7d4da023fe10339f2882b63a1f24.tar.bz2
Update.
1998-08-17 Ulrich Drepper <drepper@cygnus.com> * posix/tstgetopt.c (options): Add NULL entry at end Patch by Adrian Miranda <ade@psg.com>.
Diffstat (limited to 'posix/tstgetopt.c')
-rw-r--r--posix/tstgetopt.c5
1 files changed, 3 insertions, 2 deletions
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;