X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fargp-xinl.c;h=04d8cf7035664efb9221e178f530a547b92c541c;hb=e7086a9a301ffcfef17edbcba9e7c0312c33f7a8;hp=a59b9f32a566ee84cb6cc5f8219f41c2002e72b2;hpb=f81666cf0bfd795a33feea079c6196ed7fc39f2b;p=gnulib.git diff --git a/lib/argp-xinl.c b/lib/argp-xinl.c index a59b9f32a..04d8cf703 100644 --- a/lib/argp-xinl.c +++ b/lib/argp-xinl.c @@ -1,24 +1,23 @@ /* Real definitions for extern inline functions in argp.h - Copyright (C) 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1997-1998, 2004, 2009-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Miles Bader . - This program is free software; you can redistribute it and/or modify + 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 2, or (at your option) - any later version. + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. 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 General Public License for more details. - You should have received a copy of the GNU General Public License along - with this program; 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 . */ #ifdef HAVE_CONFIG_H -#include +# include #endif #if defined _LIBC || defined HAVE_FEATURES_H @@ -26,11 +25,15 @@ #endif #ifndef __USE_EXTERN_INLINES -# define __USE_EXTERN_INLINES 1 +# define __USE_EXTERN_INLINES 1 +#endif +#ifdef _LIBC +# define ARGP_EI +#else +# define ARGP_EI _GL_EXTERN_INLINE #endif -#define ARGP_EI #undef __OPTIMIZE__ -#define __OPTIMIZE__ +#define __OPTIMIZE__ 1 #include "argp.h" /* Add weak aliases. */