This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.10-194-g30a2dfd


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  30a2dfd5181ab0fc61ef4f4ab5f7122e41a5ff50 (commit)
      from  9b6bf8a30292288c9536efb72d80020f189bf9a6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=30a2dfd5181ab0fc61ef4f4ab5f7122e41a5ff50

commit 30a2dfd5181ab0fc61ef4f4ab5f7122e41a5ff50
Author: Duncan Simpson <dps@simpson.demon.co.uk>
Date:   Thu Jul 23 12:39:17 2009 -0700

    Make include/unistd.h suitable for C++ test cases.

diff --git a/ChangeLog b/ChangeLog
index 31ff6a1..79aeb83 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
 
diff --git a/include/unistd.h b/include/unistd.h
index 72d7e2e..ccba893 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -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

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |    4 ++++
 include/unistd.h |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]