diff options
author | Karl Berry <karl@freefriends.org> | 2005-07-10 12:38:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2005-07-10 12:38:11 +0000 |
commit | 3147525f817c64a931b9162ead7a26b504bb3d37 (patch) | |
tree | b07c31c39dee4152664dda1a6d55dea8daabf5a1 /lib/argp-namefrob.h | |
parent | af71f5bbbd6d3924f4d9bdaee7f8933dcd4d4e51 (diff) | |
download | gnulib-3147525f817c64a931b9162ead7a26b504bb3d37.tar.gz |
autoupdate
Diffstat (limited to 'lib/argp-namefrob.h')
-rw-r--r-- | lib/argp-namefrob.h | 43 |
1 files changed, 41 insertions, 2 deletions
diff --git a/lib/argp-namefrob.h b/lib/argp-namefrob.h index 14f404307a..98c57a70b7 100644 --- a/lib/argp-namefrob.h +++ b/lib/argp-namefrob.h @@ -15,7 +15,7 @@ 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #if !_LIBC /* This code is written for inclusion in gnu-libc, and uses names in the @@ -80,7 +80,6 @@ #include "strcase.h" #include "strchrnul.h" #include "strndup.h" -#include "unlocked-io.h" /* normal libc functions we call */ #undef __flockfile @@ -102,6 +101,46 @@ #undef __vsnprintf #define __vsnprintf vsnprintf +#if defined(HAVE_DECL_CLEARERR_UNLOCKED) && !HAVE_DECL_CLEARERR_UNLOCKED +# define clearerr_unlocked(x) clearerr (x) +#endif +#if defined(HAVE_DECL_FEOF_UNLOCKED) && !HAVE_DECL_FEOF_UNLOCKED +# define feof_unlocked(x) feof (x) +# endif +#if defined(HAVE_DECL_FERROR_UNLOCKED) && !HAVE_DECL_FERROR_UNLOCKED +# define ferror_unlocked(x) ferror (x) +# endif +#if defined(HAVE_DECL_FFLUSH_UNLOCKED) && !HAVE_DECL_FFLUSH_UNLOCKED +# define fflush_unlocked(x) fflush (x) +# endif +#if defined(HAVE_DECL_FGETS_UNLOCKED) && !HAVE_DECL_FGETS_UNLOCKED +# define fgets_unlocked(x,y,z) fgets (x,y,z) +# endif +#if defined(HAVE_DECL_FPUTC_UNLOCKED) && !HAVE_DECL_FPUTC_UNLOCKED +# define fputc_unlocked(x,y) fputc (x,y) +# endif +#if defined(HAVE_DECL_FPUTS_UNLOCKED) && !HAVE_DECL_FPUTS_UNLOCKED +# define fputs_unlocked(x,y) fputs (x,y) +# endif +#if defined(HAVE_DECL_FREAD_UNLOCKED) && !HAVE_DECL_FREAD_UNLOCKED +# define fread_unlocked(w,x,y,z) fread (w,x,y,z) +# endif +#if defined(HAVE_DECL_FWRITE_UNLOCKED) && !HAVE_DECL_FWRITE_UNLOCKED +# define fwrite_unlocked(w,x,y,z) fwrite (w,x,y,z) +# endif +#if defined(HAVE_DECL_GETC_UNLOCKED) && !HAVE_DECL_GETC_UNLOCKED +# define getc_unlocked(x) getc (x) +# endif +#if defined(HAVE_DECL_GETCHAR_UNLOCKED) && !HAVE_DECL_GETCHAR_UNLOCKED +# define getchar_unlocked() getchar () +# endif +#if defined(HAVE_DECL_PUTC_UNLOCKED) && !HAVE_DECL_PUTC_UNLOCKED +# define putc_unlocked(x,y) putc (x,y) +# endif +#if defined(HAVE_DECL_PUTCHAR_UNLOCKED) && !HAVE_DECL_PUTCHAR_UNLOCKED +# define putchar_unlocked(x) putchar (x) +# endif + extern char *__argp_basename (char *name); #endif /* !_LIBC */ |