From 39d1d4e5cae89fc2c401a6a65ef47444a76c0a40 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 12 Oct 1999 16:00:04 +0000 Subject: Update. 1999-10-12 Andreas Jaeger * stdlib/tst-environ.c: Include 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 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match generic Linux version. 1999-10-12 Ulrich Drepper * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility. --- locale/programs/xstrdup.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'locale') 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 +# include #endif -#if defined(STDC_HEADERS) || defined(HAVE_STRING_H) -#include +#if defined STDC_HEADERS || defined HAVE_STRING_H || __LIBC +# include #else -#include +# include #endif void *xmalloc __P ((size_t n)); char *xstrdup __P ((char *string)); -- cgit v1.2.3