summaryrefslogtreecommitdiff
path: root/stdio
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-06-23 10:48:34 +0000
committerUlrich Drepper <drepper@redhat.com>1999-06-23 10:48:34 +0000
commitec8c77a5ba61139e9b7da16dee263f32747e32af (patch)
tree9144b76bd062deb23cfa35ccc22ffbddd3f29b1b /stdio
parentea82c7fae211231c0ea415df36c33d0f1c91bcb7 (diff)
Update from main branch.
Diffstat (limited to 'stdio')
-rw-r--r--stdio/fputc.c4
-rw-r--r--stdio/putc.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/stdio/fputc.c b/stdio/fputc.c
index 754b4f9547..4d7de7063f 100644
--- a/stdio/fputc.c
+++ b/stdio/fputc.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1996, 1997, 1998, 1999 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
@@ -35,4 +35,6 @@ fputc (c, stream)
return __putc (c, stream);
}
+#ifndef fputc
weak_alias (fputc, fputc_unlocked)
+#endif
diff --git a/stdio/putc.c b/stdio/putc.c
index f92ef303b8..f35f9775bf 100644
--- a/stdio/putc.c
+++ b/stdio/putc.c
@@ -3,3 +3,4 @@
#define fputc putc
#define fputc_unlocked putc_unlocked
#include <fputc.c>
+weak_alias (putc, putc_unlocked)