about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-06-23 10:45:47 +0000
committerUlrich Drepper <drepper@redhat.com>1999-06-23 10:45:47 +0000
commit50fc48c54691e9119bfdc083ff8a7b9c3247c00e (patch)
tree5b003c033c99a6ee3075ffad1427ddc2379c705b
parent8b2134db5eb503216886522e11db88d74446c64d (diff)
downloadglibc-50fc48c54691e9119bfdc083ff8a7b9c3247c00e.tar.gz
glibc-50fc48c54691e9119bfdc083ff8a7b9c3247c00e.tar.xz
glibc-50fc48c54691e9119bfdc083ff8a7b9c3247c00e.zip
Don't define alias if fputc is defined as a macro.
-rw-r--r--stdio/fputc.c4
1 files changed, 3 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