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.11-129-g52e2ea9


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  52e2ea9a83ba3c6ea3b39f0f138af4343c9d687c (commit)
      from  63ee841069628f4af58f7e3c27ac17c7ae711c43 (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=52e2ea9a83ba3c6ea3b39f0f138af4343c9d687c

commit 52e2ea9a83ba3c6ea3b39f0f138af4343c9d687c
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Thu Jan 14 13:22:06 2010 -0800

    Relax visibility of some more declaration.

diff --git a/ChangeLog b/ChangeLog
index 40eddbc..3cf70a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2010-01-14  Ulrich Drepper  <drepper@redhat.com>
 
+	* posix/unistd.h: Change getpagesize and getdtablesize declaration
+	visibility some more.
+
 	* resolv/netdb.h: Relax condition to elide obsolete resolver constants.
 
 	* posix/unistd.h: Declare getpagesize in _GNU_SOURCE mode.
diff --git a/posix/unistd.h b/posix/unistd.h
index 611ddf0..d134ecf 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -986,16 +986,16 @@ extern long int gethostid (void);
 extern void sync (void) __THROW;
 
 
-# if defined __USE_GNU || !defined __USE_XOPEN2K
+# if defined __USE_BSD || !defined __USE_XOPEN2K
 /* Return the number of bytes in a page.  This is the system's page size,
    which is not necessarily the same as the hardware page size.  */
 extern int getpagesize (void)  __THROW __attribute__ ((__const__));
-# endif
 
 
 /* Return the maximum number of file descriptors
    the current process could possibly have.  */
 extern int getdtablesize (void) __THROW;
+# endif
 
 #endif /* Use BSD || X/Open Unix.  */
 
diff --git a/resolv/netdb.h b/resolv/netdb.h
index d72048c..7671c6a 100644
--- a/resolv/netdb.h
+++ b/resolv/netdb.h
@@ -53,7 +53,7 @@
 
 __BEGIN_DECLS
 
-#if defined __USE_MISC || defined __USE_GNU || !defined __USE_XOPEN2K8
+#if defined __USE_MISC || !defined __USE_XOPEN2K8
 /* Error status for non-reentrant lookup functions.
    We use a macro to access always the thread-specific `h_errno' variable.  */
 # define h_errno (*__h_errno_location ())
@@ -87,7 +87,7 @@ extern int *__h_errno_location (void) __THROW __attribute__ ((__const__));
 # define SCOPE_DELIMITER	'%'
 #endif
 
-#if defined __USE_MISC || defined __USE_GNU
+#ifdef __USE_MISC
 /* Print error indicated by `h_errno' variable on standard error.  STR
    if non-null is printed before the error string.  */
 extern void herror (__const char *__str) __THROW;

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

Summary of changes:
 ChangeLog      |    3 +++
 posix/unistd.h |    4 ++--
 resolv/netdb.h |    4 ++--
 3 files changed, 7 insertions(+), 4 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]