summaryrefslogtreecommitdiffstats
path: root/lib/xmalloc.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2002-11-14 15:00:41 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:08:51 +0200
commit741bd98a238c11918aadca01170c3e012f435216 (patch)
treee02044fbd2f14e93be9224eb31c6b94b62ff92f0 /lib/xmalloc.h
parent9db2f21d62bd228d353c8d08dc5baa8ccdf136c2 (diff)
downloadexternal_gettext-741bd98a238c11918aadca01170c3e012f435216.zip
external_gettext-741bd98a238c11918aadca01170c3e012f435216.tar.gz
external_gettext-741bd98a238c11918aadca01170c3e012f435216.tar.bz2
Switch from K&R C to ANSI C.
Diffstat (limited to 'lib/xmalloc.h')
-rw-r--r--lib/xmalloc.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/xmalloc.h b/lib/xmalloc.h
index 880bb40..c5b47ec 100644
--- a/lib/xmalloc.h
+++ b/lib/xmalloc.h
@@ -1,5 +1,5 @@
/* malloc with out of memory checking.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001-2002 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
@@ -25,20 +25,20 @@
/* Defined in xmalloc.c. */
/* Allocate SIZE bytes of memory dynamically, with error checking. */
-extern void *xmalloc PARAMS ((size_t size));
+extern void *xmalloc (size_t size);
/* Allocate memory for NMEMB elements of SIZE bytes, with error checking. */
-extern void *xcalloc PARAMS ((size_t nmemb, size_t size));
+extern void *xcalloc (size_t nmemb, size_t size);
/* Change the size of an allocated block of memory PTR to SIZE bytes,
with error checking. If PTR is NULL, run xmalloc. */
-extern void *xrealloc PARAMS ((void *ptr, size_t size));
+extern void *xrealloc (void *ptr, size_t size);
/* Defined in xstrdup.c. */
/* Return a newly allocated copy of STRING. */
-extern char *xstrdup PARAMS ((const char *string));
+extern char *xstrdup (const char *string);
#endif /* _XMALLOC_H */