mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-18 02:50:09 +00:00
1cc2b04ed7
1999-06-23 Ulrich Drepper <drepper@cygnus.com> * stdio/fputc.c: Don't define alias if fputc is defined as a macro. * stdio/putc.c: Define weak alias here since it is not done anymore in fputc.c. 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * assert/assert.h: Don't produce `defined' as part of macro expansion.
7 lines
139 B
C
7 lines
139 B
C
#include <stdio.h>
|
|
#undef putc
|
|
#define fputc putc
|
|
#define fputc_unlocked putc_unlocked
|
|
#include <fputc.c>
|
|
weak_alias (putc, putc_unlocked)
|