summaryrefslogtreecommitdiff
path: root/src/stdio/fgetc.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-06-02 21:20:21 -0400
committerRich Felker <dalias@aerifal.cx>2012-06-02 21:20:21 -0400
commit6a4b9472fb0a85e55030b37ec3017ba0319e03f9 (patch)
tree94ad849a3dbc19a5ff5bde6132dae854dadb6d26 /src/stdio/fgetc.c
parent13b3645c46518e0e2fb91f0d665e60f7a8a44b2b (diff)
downloadmusl-6a4b9472fb0a85e55030b37ec3017ba0319e03f9.tar.gz
add some ugly aliases for LSB ABI compatibility
for some nonsensical reason, glibc's headers use inline functions that redirect some of the standard functions to ugly nonstandard names (and likewise for some of their nonstandard functions).
Diffstat (limited to 'src/stdio/fgetc.c')
-rw-r--r--src/stdio/fgetc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdio/fgetc.c b/src/stdio/fgetc.c
index 4d8aca37..65a10fa6 100644
--- a/src/stdio/fgetc.c
+++ b/src/stdio/fgetc.c
@@ -11,3 +11,4 @@ int fgetc(FILE *f)
}
weak_alias(fgetc, getc);
+weak_alias(fgetc, _IO_getc);