From 4356cfd7ad089329066cc2ebaaf9e1e982762537 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 25 Jul 1995 18:36:31 +0000 Subject: * 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. --- io/fcntl.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'io/fcntl.h') diff --git a/io/fcntl.h b/io/fcntl.h index 952b2b5..0cb24a0 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 ; be sure to keep both files consistent. Some systems have them there and some here, and some -- cgit v1.1