about summary refs log tree commit diff
path: root/string
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-04-21 18:04:21 +0000
committerUlrich Drepper <drepper@redhat.com>2002-04-21 18:04:21 +0000
commit47cbdebd7eb699759a7fc2c13cf226bc82cd23ac (patch)
tree1f53c9138c39e55646dc102b4ed384477f3c9d8b /string
parentb1113ed244ff32975501914ca7c84bfacfa13245 (diff)
downloadglibc-47cbdebd7eb699759a7fc2c13cf226bc82cd23ac.tar.gz
glibc-47cbdebd7eb699759a7fc2c13cf226bc82cd23ac.tar.xz
glibc-47cbdebd7eb699759a7fc2c13cf226bc82cd23ac.zip
Update.
2002-04-21  Ulrich Drepper  <drepper@redhat.com>

	* string/string.h: Declare strerror_r also for XPG6.
Diffstat (limited to 'string')
-rw-r--r--string/string.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/string/string.h b/string/string.h
index 47e5f18d5d..265e1fac9e 100644
--- a/string/string.h
+++ b/string/string.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,92,93,95,96,97,98,99,2000,2001 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1993, 1995-2001, 2002 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
@@ -227,7 +227,7 @@ extern size_t strnlen (__const char *__string, size_t __maxlen)
 
 /* Return a string describing the meaning of the `errno' code in ERRNUM.  */
 extern char *strerror (int __errnum) __THROW;
-#ifdef	__USE_MISC
+#if defined __USE_XOPEN2K || defined __USE_MISC
 /* Reentrant version of `strerror'.  If a temporary buffer is required, at
    most BUFLEN bytes of BUF will be used.  */
 extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) __THROW;
@@ -237,7 +237,7 @@ extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) __THROW;
    the namespace rules does not allow this.  */
 extern void __bzero (void *__s, size_t __n) __THROW;
 
-#if defined __USE_BSD
+#ifdef __USE_BSD
 /* Copy N bytes of SRC to DEST (like memmove, but args reversed).  */
 extern void bcopy (__const void *__src, void *__dest, size_t __n) __THROW;