about summary refs log tree commit diff
path: root/misc/mkstemp.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-08-04 17:22:28 +0000
committerUlrich Drepper <drepper@redhat.com>1998-08-04 17:22:28 +0000
commit9fbffc467639130663cc1959a59eb980b9207210 (patch)
tree3952446509345d7c94f23d5269f764ec9a063b4a /misc/mkstemp.c
parentd358336fe743642ee8b0400117777c24dc102987 (diff)
downloadglibc-9fbffc467639130663cc1959a59eb980b9207210.tar.gz
glibc-9fbffc467639130663cc1959a59eb980b9207210.tar.xz
glibc-9fbffc467639130663cc1959a59eb980b9207210.zip
Update.
1998-08-04 16:53  Ulrich Drepper  <drepper@cygnus.com>

	* stdio-common/tmpfile.c: Include unistd.h for close prototype.
	* stdio-common/tmpfile64.c: Likewise.

	* db2/makedb.c: Generate output file with same access permissions
	the input file has.

	* signal/signal.h: Pretty printing.

1998-08-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* misc/mktemp.c: Add include <stlib.h> for prototype, remove
	unneccessary includes.
	* misc/mkstemp.c: Likewise.
Diffstat (limited to 'misc/mkstemp.c')
-rw-r--r--misc/mkstemp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/misc/mkstemp.c b/misc/mkstemp.c
index 3fa033bd6b..fc911da9a1 100644
--- a/misc/mkstemp.c
+++ b/misc/mkstemp.c
@@ -16,9 +16,8 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-#include <errno.h>
 #include <stdio.h>
-#include <unistd.h>
+#include <stdlib.h>
 
 /* Generate a unique temporary file name from TEMPLATE.
    The last six characters of TEMPLATE must be "XXXXXX";