about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-12-01 19:54:41 +0000
committerRoland McGrath <roland@gnu.org>2004-12-01 19:54:41 +0000
commitc13bc9621fabbfd687adbefab5f9c5ba13d8b14c (patch)
tree45626c44fb38a06079be51cb0cbb7c7a5fb303aa
parentfaef34d020146aafaccefa36eda64cde93d97912 (diff)
downloadglibc-c13bc9621fabbfd687adbefab5f9c5ba13d8b14c.tar.gz
glibc-c13bc9621fabbfd687adbefab5f9c5ba13d8b14c.tar.xz
glibc-c13bc9621fabbfd687adbefab5f9c5ba13d8b14c.zip
* stdlib/stdlib.h (realpath): Remove nonnull attribute.
-rw-r--r--ChangeLog4
-rw-r--r--stdlib/stdlib.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fecfdb851c..c46fcc0a6a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-12-01  Jakub Jelinek  <jakub@redhat.com>
+
+	* stdlib/stdlib.h (realpath): Remove nonnull attribute.
+
 2004-12-01  Roland McGrath  <roland@redhat.com>
 
 	* sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c):
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index 4ef32ac782..1bda32262b 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -747,7 +747,7 @@ extern char *canonicalize_file_name (__const char *__name)
    ENAMETOOLONG; if the name fits in fewer than PATH_MAX chars, returns the
    name in RESOLVED.  */
 extern char *realpath (__const char *__restrict __name,
-		       char *__restrict __resolved) __THROW __nonnull ((1));
+		       char *__restrict __resolved) __THROW;
 #endif