summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/clearerr.c4
-rw-r--r--libc/stdio/feof.c4
-rw-r--r--libc/stdio/ferror.c4
-rw-r--r--libc/stdio/fgetws.c4
-rw-r--r--libc/stdio/fileno.c6
-rw-r--r--libc/stdio/fputwc.c10
-rw-r--r--libc/stdio/getchar.c4
-rw-r--r--libc/stdio/putchar.c4
-rw-r--r--libc/stdio/putwchar.c4
9 files changed, 22 insertions, 22 deletions
diff --git a/libc/stdio/clearerr.c b/libc/stdio/clearerr.c
index 2772bed3c..cf1e623c7 100644
--- a/libc/stdio/clearerr.c
+++ b/libc/stdio/clearerr.c
@@ -16,9 +16,9 @@ void __clearerr_unlocked(register FILE *stream)
__CLEARERR_UNLOCKED(stream);
}
-weak_alias(__clearerr_unlocked,clearerr_unlocked);
+weak_alias(__clearerr_unlocked,clearerr_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
-weak_alias(__clearerr_unlocked,clearerr);
+weak_alias(__clearerr_unlocked,clearerr)
#endif
#elif defined __UCLIBC_HAS_THREADS__
diff --git a/libc/stdio/feof.c b/libc/stdio/feof.c
index 907872f7f..b0528d5ae 100644
--- a/libc/stdio/feof.c
+++ b/libc/stdio/feof.c
@@ -16,9 +16,9 @@ int __feof_unlocked(register FILE *stream)
return __FEOF_UNLOCKED(stream);
}
-weak_alias(__feof_unlocked,feof_unlocked);
+weak_alias(__feof_unlocked,feof_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
-weak_alias(__feof_unlocked,feof);
+weak_alias(__feof_unlocked,feof)
#endif
#elif defined __UCLIBC_HAS_THREADS__
diff --git a/libc/stdio/ferror.c b/libc/stdio/ferror.c
index 95014d3b0..e8d19bfa4 100644
--- a/libc/stdio/ferror.c
+++ b/libc/stdio/ferror.c
@@ -16,9 +16,9 @@ int __ferror_unlocked(register FILE *stream)
return __FERROR_UNLOCKED(stream);
}
-weak_alias(__ferror_unlocked,ferror_unlocked);
+weak_alias(__ferror_unlocked,ferror_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
-weak_alias(__ferror_unlocked,ferror);
+weak_alias(__ferror_unlocked,ferror)
#endif
#elif defined __UCLIBC_HAS_THREADS__
diff --git a/libc/stdio/fgetws.c b/libc/stdio/fgetws.c
index e31ea3c41..fe8da002d 100644
--- a/libc/stdio/fgetws.c
+++ b/libc/stdio/fgetws.c
@@ -37,9 +37,9 @@ wchar_t attribute_hidden *__fgetws_unlocked(wchar_t *__restrict ws, int n,
return ws;
}
-weak_alias(__fgetws_unlocked,fgetws_unlocked);
+weak_alias(__fgetws_unlocked,fgetws_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
-weak_alias(__fgetws_unlocked,fgetws);
+weak_alias(__fgetws_unlocked,fgetws)
#endif
#elif defined __UCLIBC_HAS_THREADS__
diff --git a/libc/stdio/fileno.c b/libc/stdio/fileno.c
index 526a4eb9f..bc1ade952 100644
--- a/libc/stdio/fileno.c
+++ b/libc/stdio/fileno.c
@@ -21,10 +21,10 @@ int attribute_hidden __fileno_unlocked(register FILE *stream)
return -1;
}
-weak_alias(__fileno_unlocked,fileno_unlocked);
+weak_alias(__fileno_unlocked,fileno_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
-hidden_weak_alias(__fileno_unlocked,__fileno);
-weak_alias(__fileno_unlocked,fileno);
+hidden_weak_alias(__fileno_unlocked,__fileno)
+weak_alias(__fileno_unlocked,fileno)
#endif
#elif defined __UCLIBC_HAS_THREADS__
diff --git a/libc/stdio/fputwc.c b/libc/stdio/fputwc.c
index dbea948dc..8f1178710 100644
--- a/libc/stdio/fputwc.c
+++ b/libc/stdio/fputwc.c
@@ -14,11 +14,11 @@ wint_t attribute_hidden __fputwc_unlocked(wchar_t wc, FILE *stream)
return _wstdio_fwrite(&wc, 1, stream) ? wc : WEOF;
}
-weak_alias(__fputwc_unlocked,fputwc_unlocked);
-weak_alias(__fputwc_unlocked,putwc_unlocked);
+weak_alias(__fputwc_unlocked,fputwc_unlocked)
+weak_alias(__fputwc_unlocked,putwc_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
-weak_alias(__fputwc_unlocked,fputwc);
-weak_alias(__fputwc_unlocked,putwc);
+weak_alias(__fputwc_unlocked,fputwc)
+weak_alias(__fputwc_unlocked,putwc)
#endif
#elif defined __UCLIBC_HAS_THREADS__
@@ -37,6 +37,6 @@ wint_t fputwc(wchar_t wc, register FILE *stream)
return retval;
}
-weak_alias(fputwc,putwc);
+weak_alias(fputwc,putwc)
#endif
diff --git a/libc/stdio/getchar.c b/libc/stdio/getchar.c
index ec578919b..d17704056 100644
--- a/libc/stdio/getchar.c
+++ b/libc/stdio/getchar.c
@@ -19,9 +19,9 @@ int attribute_hidden __getchar_unlocked(void)
return __GETC_UNLOCKED_MACRO(stream);
}
-weak_alias(__getchar_unlocked,getchar_unlocked);
+weak_alias(__getchar_unlocked,getchar_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
-weak_alias(__getchar_unlocked,getchar);
+weak_alias(__getchar_unlocked,getchar)
#endif
#elif defined __UCLIBC_HAS_THREADS__
diff --git a/libc/stdio/putchar.c b/libc/stdio/putchar.c
index fa6d6c372..e503b9484 100644
--- a/libc/stdio/putchar.c
+++ b/libc/stdio/putchar.c
@@ -19,9 +19,9 @@ int __putchar_unlocked(int c)
return __PUTC_UNLOCKED_MACRO(c, stream);
}
-weak_alias(__putchar_unlocked,putchar_unlocked);
+weak_alias(__putchar_unlocked,putchar_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
-weak_alias(__putchar_unlocked,putchar);
+weak_alias(__putchar_unlocked,putchar)
#endif
#elif defined __UCLIBC_HAS_THREADS__
diff --git a/libc/stdio/putwchar.c b/libc/stdio/putwchar.c
index 471c63f7f..d093656e6 100644
--- a/libc/stdio/putwchar.c
+++ b/libc/stdio/putwchar.c
@@ -14,9 +14,9 @@ wint_t __putwchar_unlocked(wchar_t wc)
return __fputwc_unlocked(wc, stdout);
}
-weak_alias(__putwchar_unlocked,putwchar_unlocked);
+weak_alias(__putwchar_unlocked,putwchar_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
-weak_alias(__putwchar_unlocked,putwchar);
+weak_alias(__putwchar_unlocked,putwchar)
#endif
#elif defined __UCLIBC_HAS_THREADS__