diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-10-12 16:00:04 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-10-12 16:00:04 +0000 |
commit | 39d1d4e5cae89fc2c401a6a65ef47444a76c0a40 (patch) | |
tree | 459042f4554e6136eceaa2096abf5a24f5a0b8bc /locale | |
parent | 6df659be1022b4422719ed4f30c02dcf8c24b1cd (diff) | |
download | glibc-39d1d4e5cae89fc2c401a6a65ef47444a76c0a40.tar.gz glibc-39d1d4e5cae89fc2c401a6a65ef47444a76c0a40.tar.xz glibc-39d1d4e5cae89fc2c401a6a65ef47444a76c0a40.zip |
Update.
1999-10-12 Andreas Jaeger <aj@suse.de> * stdlib/tst-environ.c: Include <string.h> for strcpy declaration. * math/basic-test.c: Fix typo. * locale/programs/xstrdup.c: Include string.h for glibc compilation to get string prototypes. * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of gregset_t and fpregset_t. * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc warnings. Correct value for x == 0. * argp/argp-help.c: Remove broken definition of flockfile and funlockfile. 1999-10-12 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match generic Linux version. 1999-10-12 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
Diffstat (limited to 'locale')
-rw-r--r-- | locale/programs/xstrdup.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/locale/programs/xstrdup.c b/locale/programs/xstrdup.c index 4c2551e26a..3947dd19ce 100644 --- a/locale/programs/xstrdup.c +++ b/locale/programs/xstrdup.c @@ -1,5 +1,5 @@ /* xstrdup.c -- copy a string with out of memory checking - Copyright (C) 1990, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1990, 1996, 1997, 1999 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 @@ -18,13 +18,13 @@ Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H -#include <config.h> +# include <config.h> #endif -#if defined(STDC_HEADERS) || defined(HAVE_STRING_H) -#include <string.h> +#if defined STDC_HEADERS || defined HAVE_STRING_H || __LIBC +# include <string.h> #else -#include <strings.h> +# include <strings.h> #endif void *xmalloc __P ((size_t n)); char *xstrdup __P ((char *string)); |