1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Cleanup of configuration options

Make several tool features mandatory and simplify the code.
This commit is contained in:
Ulrich Drepper
2011-09-10 14:34:15 -04:00
parent 1248c1c415
commit 3ce1f29594
84 changed files with 468 additions and 797 deletions

View File

@ -1,5 +1,5 @@
/* Open a stdio stream on an anonymous temporary file. Generic/POSIX version.
Copyright (C) 1991,1993,1996-2000,2002,2003,2007,2009
Copyright (C) 1991,1993,1996-2000,2002,2003,2007,2009,2011
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@ -22,12 +22,10 @@
#include <stdio.h>
#include <unistd.h>
#ifdef USE_IN_LIBIO
# include <iolibio.h>
# define __fdopen INTUSE(_IO_fdopen)
# ifndef tmpfile
# define tmpfile __new_tmpfile
# endif
#include <iolibio.h>
#define __fdopen INTUSE(_IO_fdopen)
#ifndef tmpfile
# define tmpfile __new_tmpfile
#endif
@ -62,7 +60,7 @@ tmpfile (void)
return f;
}
#if defined USE_IN_LIBIO && !defined FLAGS /* Not for tmpfile64. */
#ifndef FLAGS /* Not for tmpfile64. */
# undef tmpfile
# include <shlib-compat.h>
versioned_symbol (libc, __new_tmpfile, tmpfile, GLIBC_2_1);