summary refs log tree commit diff
path: root/io
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-07-25 18:36:31 +0000
committerRoland McGrath <roland@gnu.org>1995-07-25 18:36:31 +0000
commit4356cfd7ad089329066cc2ebaaf9e1e982762537 (patch)
treecb65e7a9f8d081e79aafef2afedad03dfdc143a1 /io
parent874f1b9bd817c0fa7e9fb231ec2e377c819d73a4 (diff)
downloadglibc-4356cfd7ad089329066cc2ebaaf9e1e982762537.tar.gz
glibc-4356cfd7ad089329066cc2ebaaf9e1e982762537.tar.xz
glibc-4356cfd7ad089329066cc2ebaaf9e1e982762537.zip
* stdlib/strtol.c [_LIBC]: Define STDC_HEADERS.
	* sysdeps/unix/sysv/ftime.S: New file.

	* locale/locfile-parse.c (categories_write): Cast "" to char *.

	* io/fcntl.h [__OPTIMIZE__] (creat): Macro removed.

	* time/strftime.c: Use year modulo 100 for %y.

	* time/sys/timeb.h: Add __BEGIN_DECLS and __END_DECLS.

	* sysdeps/unix/snarf-ioctls (snarfexclude): Use two sed's instead
 	of one, to work around bug in sunos4.1.2 sed.
Diffstat (limited to 'io')
-rw-r--r--io/fcntl.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/io/fcntl.h b/io/fcntl.h
index 952b2b51da..0cb24a0907 100644
--- a/io/fcntl.h
+++ b/io/fcntl.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1994, 1995 Free Software Foundation, Inc.
 This file is part of the GNU C Library.
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -60,10 +60,6 @@ extern int open __P ((__const char *__file, int __oflag,...));
    what `mode_t' will be widened to.  */
 extern int creat __P ((__const char *__file, __mode_t __mode));
 
-#ifdef	__OPTIMIZE__
-#define	creat(file, m)	__open((file), O_WRONLY|O_CREAT|O_TRUNC, (m))
-#endif /* Optimizing.  */
-
 #if defined (__USE_MISC) && !defined (F_LOCK)
 /* NOTE: These declarations also appear in <unistd.h>; be sure to keep both
    files consistent.  Some systems have them there and some here, and some