mirror of git://sourceware.org/git/glibc.git
* sysdeps/unix/sysv/linux/fcntlbits.h: Moved from linux/i386.
* Makerules: Use -include for generated makefiles. * errno.h: Don't declare errno if it's defined as a macro.
This commit is contained in:
parent
914d9d7bdf
commit
555f3a396a
|
|
@ -1,5 +1,11 @@
|
||||||
Wed Jan 24 03:22:07 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
Wed Jan 24 03:22:07 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/fcntlbits.h: Moved from linux/i386.
|
||||||
|
|
||||||
|
* Makerules: Use -include for generated makefiles.
|
||||||
|
|
||||||
|
* errno.h: Don't declare errno if it's defined as a macro.
|
||||||
|
|
||||||
* stdio-common/vfscanf.c: Disallow l flag after ll or L.
|
* stdio-common/vfscanf.c: Disallow l flag after ll or L.
|
||||||
|
|
||||||
* stdio-common/Makefile (tests): Add scanf[1-9].
|
* stdio-common/Makefile (tests): Add scanf[1-9].
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,7 @@ vpath %.h $(subst $(empty) ,:,$(strip $(common-objpfx) \
|
||||||
in-Makerules := yes
|
in-Makerules := yes
|
||||||
|
|
||||||
ifndef avoid-generated
|
ifndef avoid-generated
|
||||||
include $(+sysdir_pfx)sysd-Makefile
|
-include $(+sysdir_pfx)sysd-Makefile
|
||||||
ifneq ($(sysd-Makefile-sysdirs),$(sysdirs))
|
ifneq ($(sysd-Makefile-sysdirs),$(sysdirs))
|
||||||
sysd-Makefile-force = FORCE
|
sysd-Makefile-force = FORCE
|
||||||
FORCE:
|
FORCE:
|
||||||
|
|
@ -198,7 +198,7 @@ endif
|
||||||
# included. It might define inhibit-sysdep-asm, which would affect the
|
# included. It might define inhibit-sysdep-asm, which would affect the
|
||||||
# contents of sysd-rules.
|
# contents of sysd-rules.
|
||||||
ifdef sysd-Makefile-done
|
ifdef sysd-Makefile-done
|
||||||
include $(+sysdir_pfx)sysd-rules
|
-include $(+sysdir_pfx)sysd-rules
|
||||||
ifneq ($(sysd-rules-sysdirs),$(sysdirs))
|
ifneq ($(sysd-rules-sysdirs),$(sysdirs))
|
||||||
# The value of $(sysdirs) the sysd-rules was computed for
|
# The value of $(sysdirs) the sysd-rules was computed for
|
||||||
# differs from the one we are using now. So force a rebuild of sysd-rules.
|
# differs from the one we are using now. So force a rebuild of sysd-rules.
|
||||||
|
|
@ -313,7 +313,7 @@ endif
|
||||||
|
|
||||||
ifdef +depfiles
|
ifdef +depfiles
|
||||||
ifneq ($(no_deps),t)
|
ifneq ($(no_deps),t)
|
||||||
include $(+depfiles)
|
-include $(+depfiles)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
10
errno.h
10
errno.h
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
|
/* Copyright (C) 1991, 92, 93, 94, 95, 96 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
|
@ -37,8 +37,14 @@ __BEGIN_DECLS
|
||||||
#undef __need_Emath
|
#undef __need_Emath
|
||||||
|
|
||||||
#ifdef _ERRNO_H
|
#ifdef _ERRNO_H
|
||||||
/* Declare the `errno' variable. */
|
/* Declare the `errno' variable, unless it's defined as a macro by
|
||||||
|
errnos.h. This is the case in GNU, where it is a per-thread variable.
|
||||||
|
This redeclaration using the macro still works, but it will be a
|
||||||
|
function declaration without a prototype and may trigger a
|
||||||
|
-Wstrict-prototypes warning. */
|
||||||
|
#ifndef errno
|
||||||
extern int errno;
|
extern int errno;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
/* The full and simple forms of the name with which the program was
|
/* The full and simple forms of the name with which the program was
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,26 @@
|
||||||
|
/* O_*, F_*, FD_* bit values for Linux.
|
||||||
|
Copyright (C) 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
|
||||||
|
modify it under the terms of the GNU Library General Public License as
|
||||||
|
published by the Free Software Foundation; either version 2 of the
|
||||||
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
Library General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Library General Public
|
||||||
|
License along with the GNU C Library; see the file COPYING.LIB. If
|
||||||
|
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
|
#ifndef _FCNTLBITS_H
|
||||||
|
#define _FCNTLBITS_H 1
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <linux/fcntl.h>
|
||||||
|
|
||||||
|
#endif /* fcntlbits.h */
|
||||||
Loading…
Reference in New Issue