From dcfaecb6c28e2d91f6e48d59f0c8c6e8d91987d3 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 13 Feb 1997 21:13:48 +0000 Subject: Update to libc-970212 versions. --- libshouldbeinlibc/argp-test.c | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'libshouldbeinlibc/argp-test.c') diff --git a/libshouldbeinlibc/argp-test.c b/libshouldbeinlibc/argp-test.c index 9b4e8af6..9eabec3d 100644 --- a/libshouldbeinlibc/argp-test.c +++ b/libshouldbeinlibc/argp-test.c @@ -1,8 +1,7 @@ -/* Test program for argp argument parser - +/* Test program for argp argument parser. Copyright (C) 1997 Free Software Foundation, Inc. - - Written by Miles Bader + This file is part of the GNU C Library. + Written by Miles Bader . The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as @@ -15,9 +14,9 @@ Library General Public License for more details. You should have received a copy of the GNU Library General Public - License along with the GNU C Library; see the file COPYING.LIB. If - not, write to the Free Software Foundation, Inc., 675 Mass Ave, - Cambridge, MA 02139, USA. */ + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ #include @@ -39,7 +38,7 @@ struct argp_option sub_options[] = static const char sub_args_doc[] = "STRING...\n-"; static const char sub_doc[] = "\vThis is the doc string from the sub-arg-parser."; -static error_t +static error_t sub_parse_opt (int key, char *arg, struct argp_state *state) { switch (key) @@ -60,7 +59,7 @@ sub_parse_opt (int key, char *arg, struct argp_state *state) } return 0; } - + static struct argp sub_argp = { sub_options, sub_parse_opt, sub_args_doc, sub_doc }; @@ -97,7 +96,7 @@ static const char doc[] = "Test program for argp." "\vThis doc string comes after the options." "\nHey! Some manual formatting!"; -static error_t +static error_t parse_opt (int key, char *arg, struct argp_state *state) { switch (key) -- cgit v1.2.3