summaryrefslogtreecommitdiff
path: root/stdio-common/reg-printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/reg-printf.c')
-rw-r--r--stdio-common/reg-printf.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/stdio-common/reg-printf.c b/stdio-common/reg-printf.c
index 95d7a1f3c9..db33a3d618 100644
--- a/stdio-common/reg-printf.c
+++ b/stdio-common/reg-printf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1996 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
@@ -16,7 +16,6 @@ License along with the GNU C Library; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
-#include <ansidecl.h>
#include <errno.h>
#include <limits.h>
#include <printf.h>
@@ -29,9 +28,10 @@ printf_function **__printf_function_table;
/* Register FUNC to be called to format SPEC specifiers. */
int
-DEFUN(register_printf_function, (spec, converter, arginfo),
- int spec AND printf_function converter AND
- printf_arginfo_function arginfo)
+__register_printf_function (spec, converter, arginfo)
+ int spec;
+ printf_function converter;
+ printf_arginfo_function arginfo;
{
if (spec < 0 || spec > (int) UCHAR_MAX)
{
@@ -45,3 +45,4 @@ DEFUN(register_printf_function, (spec, converter, arginfo),
return 0;
}
+weak_alias (__register_printf_function, register_printf_function)