aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-10 09:24:53 +0000
committerRoland McGrath <roland@gnu.org>2002-08-10 09:24:53 +0000
commitb9b91868d49b1853bdb15e7514eb5fbc578926a9 (patch)
tree43e1361fba746ce24f8fc064fe6dbabb2510c0da /sysdeps
parent5656e2948f2afcf5ace45b01ac2589ded742e6d3 (diff)
downloadglibc-b9b91868d49b1853bdb15e7514eb5fbc578926a9.zip
glibc-b9b91868d49b1853bdb15e7514eb5fbc578926a9.tar.gz
glibc-b9b91868d49b1853bdb15e7514eb5fbc578926a9.tar.bz2
* include/wchar.h (putwc): Use libc_hidden_proto.
* include/stdio.h (dprintf, fprintf, vfprintf, sprintf, sscanf, fwrite, perror, remove, rewind, open_memstream): Likewise. * stdio-common/dprintf.c: Add libc_hidden_def. * stdio-common/fprintf.c: Likewise. * stdio-common/sprintf.c: Likewise. * stdio-common/sscanf.c: Likewise. * libio/iofwrite.c: Likewise. * libio/memstream.c: Likewise. * libio/putwc.c: Likewise. * stdio-common/perror.c: Likewise. * sysdeps/posix/remove.c: Likewise. * sysdeps/generic/remove.c: Likewise. * libio/rewind.c: Likewise. Use <stdio.h> instead of "stdio.h". * stdio-common/vfprintf.c: Add libc_hidden_def. Include <stdio.h>.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/remove.c3
-rw-r--r--sysdeps/posix/remove.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/generic/remove.c b/sysdeps/generic/remove.c
index e4922cf..5dc0e9e 100644
--- a/sysdeps/generic/remove.c
+++ b/sysdeps/generic/remove.c
@@ -1,5 +1,5 @@
/* ANSI C `remove' function to delete a file or directory. Stub version.
- Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1995,96,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
@@ -27,6 +27,7 @@ remove (file)
__set_errno (ENOSYS);
return -1;
}
+libc_hidden_def (remove)
stub_warning (remove)
#include <stub-tag.h>
diff --git a/sysdeps/posix/remove.c b/sysdeps/posix/remove.c
index 487b8c9..7473ee1 100644
--- a/sysdeps/posix/remove.c
+++ b/sysdeps/posix/remove.c
@@ -1,5 +1,5 @@
/* ANSI C `remove' function to delete a file or directory. POSIX.1 version.
- Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1995,96,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
@@ -38,3 +38,4 @@ remove (file)
return -1;
}
+libc_hidden_def (remove)