aboutsummaryrefslogtreecommitdiff
path: root/stdio-common
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/dprintf.c3
-rw-r--r--stdio-common/fprintf.c3
-rw-r--r--stdio-common/perror.c1
-rw-r--r--stdio-common/sprintf.c1
-rw-r--r--stdio-common/sscanf.c3
-rw-r--r--stdio-common/vfprintf.c3
6 files changed, 10 insertions, 4 deletions
diff --git a/stdio-common/dprintf.c b/stdio-common/dprintf.c
index 13aa7f04f8..534b3f0df7 100644
--- a/stdio-common/dprintf.c
+++ b/stdio-common/dprintf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1991,95,97,98,2002 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
@@ -38,3 +38,4 @@ dprintf (int d, const char *format, ...)
return done;
}
+libc_hidden_def (dprintf)
diff --git a/stdio-common/fprintf.c b/stdio-common/fprintf.c
index 3da65b6b50..9243a4ec02 100644
--- a/stdio-common/fprintf.c
+++ b/stdio-common/fprintf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991,97,2002 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
@@ -34,6 +34,7 @@ fprintf (FILE *stream, const char *format, ...)
return done;
}
+libc_hidden_def (fprintf)
#ifdef USE_IN_LIBIO
/* We define the function with the real name here. But deep down in
diff --git a/stdio-common/perror.c b/stdio-common/perror.c
index 6a4e3494ed..9899c7d509 100644
--- a/stdio-common/perror.c
+++ b/stdio-common/perror.c
@@ -90,3 +90,4 @@ perror (const char *s)
perror_internal (stderr, s, errnum);
#endif
}
+libc_hidden_def (perror)
diff --git a/stdio-common/sprintf.c b/stdio-common/sprintf.c
index f44a24b2b6..07e2654993 100644
--- a/stdio-common/sprintf.c
+++ b/stdio-common/sprintf.c
@@ -38,6 +38,7 @@ sprintf (char *s, const char *format, ...)
return done;
}
+libc_hidden_def (sprintf)
#ifdef USE_IN_LIBIO
strong_alias(sprintf, _IO_sprintf)
diff --git a/stdio-common/sscanf.c b/stdio-common/sscanf.c
index cd876a0410..26d8742d09 100644
--- a/stdio-common/sscanf.c
+++ b/stdio-common/sscanf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1991,95,96,98,2002 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
@@ -40,6 +40,7 @@ sscanf (s, format)
return done;
}
+libc_hidden_def (sscanf)
#ifdef USE_IN_LIBIO
# undef _IO_sscanf
diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c
index ec30aba7e4..21368e1aab 100644
--- a/stdio-common/vfprintf.c
+++ b/stdio-common/vfprintf.c
@@ -29,6 +29,7 @@
#include <sys/param.h>
#include "_itoa.h"
#include <locale/localeinfo.h>
+#include <stdio.h>
/* This code is shared between the standard stdio implementation found
in GNU C library and the libio implementation originally found in
@@ -104,7 +105,6 @@
# endif
#else /* ! USE_IN_LIBIO */
/* This code is for use in the GNU C library. */
-# include <stdio.h>
# define ARGCHECK(S, Format) \
do \
{ \
@@ -2264,6 +2264,7 @@ strong_alias (_IO_vfwprintf, __vfwprintf);
weak_alias (_IO_vfwprintf, vfwprintf);
# else
strong_alias (_IO_vfprintf, vfprintf);
+libc_hidden_def (vfprintf)
INTDEF(_IO_vfprintf)
# endif
# else