Browse Source

Remove trailing ; after *alias()

Peter S. Mazinger 19 years ago
parent
commit
0d5d9538d1

+ 2 - 2
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__

+ 2 - 2
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__

+ 2 - 2
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__

+ 2 - 2
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__

+ 3 - 3
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__

+ 5 - 5
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

+ 2 - 2
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__

+ 2 - 2
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__

+ 2 - 2
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__