X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetsubopt.c;h=f29f3593543ce97bcf1cae0a79c27693f2b37e34;hb=cb9819cbb9261bd50c3466cf0a4cd873f0d7ebd7;hp=bd4034e7b0ea3fae663529468685434998844f0a;hpb=0d2a1de66874d543cd0d9bec1a799da3faf33813;p=gnulib.git diff --git a/lib/getsubopt.c b/lib/getsubopt.c index bd4034e7b..f29f35935 100644 --- a/lib/getsubopt.c +++ b/lib/getsubopt.c @@ -1,22 +1,24 @@ -/* Parse comma separate list into words. - Copyright (C) 1996, 1997, 1999, 2004 Free Software Foundation, Inc. +/* Parse comma separated list into words. + Copyright (C) 1996, 1997, 1999, 2004, 2007 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1996. - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. - The GNU C Library is distributed in the hope that it will be useful, + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#if !_LIBC +# include +#endif #include #include @@ -25,7 +27,6 @@ /* This code is written for inclusion in gnu-libc, and uses names in the namespace reserved for libc. If we're compiling in gnulib, define those names to be the normal ones instead. */ -# include "strchrnul.h" # undef __strchrnul # define __strchrnul strchrnul #endif