mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 22:40:05 +00:00
Make include/unistd.h suitable for C++ test cases.
This commit is contained in:
parent
9b6bf8a302
commit
30a2dfd518
@ -1,5 +1,9 @@
|
||||
2009-07-23 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
[BZ #10416]
|
||||
* include/unistd.h: Make header file suitable for C++ test cases.
|
||||
Patch by Duncan Simpson <dps@simpson.demon.co.uk>.
|
||||
|
||||
* sysdeps/unix/sysv/linux/i386/makecontext.S: Ensure we preserve the
|
||||
stack alignment in the exit code.
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
#ifndef _UNISTD_H
|
||||
# include <posix/unistd.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
libc_hidden_proto (_exit, __noreturn__)
|
||||
libc_hidden_proto (alarm)
|
||||
libc_hidden_proto (confstr)
|
||||
@ -174,4 +176,6 @@ extern int __have_sock_cloexec;
|
||||
unless it is really necessary. */
|
||||
#define __have_pipe2 __have_sock_cloexec
|
||||
|
||||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user