From 47cbdebd7eb699759a7fc2c13cf226bc82cd23ac Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 21 Apr 2002 18:04:21 +0000 Subject: Update. 2002-04-21 Ulrich Drepper * string/string.h: Declare strerror_r also for XPG6. --- string/string.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'string') diff --git a/string/string.h b/string/string.h index 47e5f18..265e1fa 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; -- cgit v1.1