diff options
Diffstat (limited to 'locale')
-rw-r--r-- | locale/programs/xmalloc.c | 10 | ||||
-rw-r--r-- | locale/programs/xstrdup.c | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/locale/programs/xmalloc.c b/locale/programs/xmalloc.c index c365bac..9f3c2c1 100644 --- a/locale/programs/xmalloc.c +++ b/locale/programs/xmalloc.c @@ -1,5 +1,5 @@ /* xmalloc.c -- malloc with out of memory checking - Copyright (C) 1990,91,92,93,94,95,96,97 Free Software Foundation, Inc. + Copyright (C) 1990,91,92,93,94,95,96,97,2004 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 @@ -31,10 +31,10 @@ #if STDC_HEADERS || _LIBC #include <stdlib.h> -static VOID *fixup_null_alloc __P ((size_t n)); -VOID *xmalloc __P ((size_t n)); -VOID *xcalloc __P ((size_t n, size_t s)); -VOID *xrealloc __P ((VOID *p, size_t n)); +static VOID *fixup_null_alloc (size_t n) __THROW; +VOID *xmalloc (size_t n) __THROW; +VOID *xcalloc (size_t n, size_t s) __THROW; +VOID *xrealloc (VOID *p, size_t n) __THROW; #else VOID *calloc (); VOID *malloc (); diff --git a/locale/programs/xstrdup.c b/locale/programs/xstrdup.c index 38c012c..7838d20 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, 1999 Free Software Foundation, Inc. + Copyright (C) 1990, 1996, 1997, 1999, 2004 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 @@ -26,8 +26,8 @@ #else # include <strings.h> #endif -void *xmalloc __P ((size_t n)); -char *xstrdup __P ((char *string)); +void *xmalloc (size_t n) __THROW; +char *xstrdup (char *string) __THROW; /* Return a newly allocated copy of STRING. */ |