X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-argp.c;h=f0b864d81d0778b7d45c019c2587a06e946aa8fe;hb=422ab2e0d70ed348e2fd0a82558be38e5859011a;hp=7af1af81ad56f6384fc40655a318fb0dd01aacd4;hpb=aeb898d88cddc17cefc7738940b4917e9ee27933;p=gnulib.git diff --git a/tests/test-argp.c b/tests/test-argp.c index 7af1af81a..f0b864d81 100644 --- a/tests/test-argp.c +++ b/tests/test-argp.c @@ -1,5 +1,5 @@ /* Test suite for argp. - Copyright (C) 2006-2007, 2009-2010 Free Software Foundation, Inc. + Copyright (C) 2006-2007, 2009-2011 Free Software Foundation, Inc. This file is part of the GNUlib Library. This program is free software: you can redistribute it and/or modify @@ -21,9 +21,7 @@ #include #include -#if HAVE_STRING_H -# include -#endif +#include #if HAVE_STRINGS_H # include #endif @@ -348,7 +346,7 @@ test6 (struct argp *argp) void test_optional (struct argp *argp, int argc, char **argv, - struct test_args *args, char *val, char *a) + struct test_args *args, const char *val, const char *a) { int index; if (argp_parse (argp, argc, argv, 0, &index, args))