about summary refs log tree commit diff
path: root/locale/programs/xmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/xmalloc.c')
-rw-r--r--locale/programs/xmalloc.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/locale/programs/xmalloc.c b/locale/programs/xmalloc.c
index 36bc17fe89..2528c5f379 100644
--- a/locale/programs/xmalloc.c
+++ b/locale/programs/xmalloc.c
@@ -52,8 +52,7 @@ void free ();
 int xmalloc_exit_failure = EXIT_FAILURE;
 
 static VOID *
-fixup_null_alloc (n)
-     size_t n;
+fixup_null_alloc (size_t n)
 {
   VOID *p;
 
@@ -68,8 +67,7 @@ fixup_null_alloc (n)
 /* Allocate N bytes of memory dynamically, with error checking.  */
 
 VOID *
-xmalloc (n)
-     size_t n;
+xmalloc (size_t n)
 {
   VOID *p;
 
@@ -98,9 +96,7 @@ xcalloc (n, s)
    If P is NULL, run xmalloc.  */
 
 VOID *
-xrealloc (p, n)
-     VOID *p;
-     size_t n;
+xrealloc (VOID *p, size_t n)
 {
   if (p == 0)
     return xmalloc (n);