Bladeren bron

make all "XXXhidden_proto(" consistently not use a space before '('

Denis Vlasenko 16 jaren geleden
bovenliggende
commit
e9df2e7e60

+ 1 - 1
include/libc-symbols.h

@@ -460,7 +460,7 @@ FIXME! - ?
 #if /*!defined STATIC &&*/ !defined __BCC__
 
 # ifndef __ASSEMBLER__
-#  define hidden_proto(name, attrs...) __hidden_proto (name, __GI_##name, ##attrs)
+#  define hidden_proto(name, attrs...) __hidden_proto(name, __GI_##name, ##attrs)
 #  define __hidden_proto(name, internal, attrs...) \
 	extern __typeof (name) name __asm__ (__hidden_asmname (#internal)) \
 	__hidden_proto_hiddenattr (attrs);

+ 1 - 1
libc/sysdeps/linux/arm/mmap.c

@@ -13,7 +13,7 @@
 
 #if defined (__NR_mmap) || defined (__NR_mmap2)
 
-libc_hidden_proto (mmap)
+libc_hidden_proto(mmap)
 #if defined (__UCLIBC_MMAP_HAS_6_ARGS__) && defined (__NR_mmap)
 #define __NR__mmap __NR_mmap
 static __inline__ _syscall6 (__ptr_t, _mmap, __ptr_t, addr, size_t, len,

+ 5 - 5
libc/sysdeps/linux/xtensa/fork.c

@@ -16,10 +16,10 @@
 
 extern __typeof(fork) __libc_fork;
 
-libc_hidden_proto (fork)
-pid_t __libc_fork (void)
+libc_hidden_proto(fork)
+pid_t __libc_fork(void)
 {
-  return (pid_t) INLINE_SYSCALL (clone, 2, SIGCHLD, 0);
+	return (pid_t) INLINE_SYSCALL(clone, 2, SIGCHLD, 0);
 }
-weak_alias (__libc_fork, fork)
-libc_hidden_weak (fork)
+weak_alias(__libc_fork, fork)
+libc_hidden_weak(fork)

+ 3 - 3
libc/sysdeps/linux/xtensa/sigaction.c

@@ -60,7 +60,7 @@ int __libc_sigaction (int signum, const struct sigaction *act,
 }
 
 #ifndef LIBC_SIGACTION
-libc_hidden_proto (sigaction)
-weak_alias (__libc_sigaction, sigaction)
-libc_hidden_weak (sigaction)
+libc_hidden_proto(sigaction)
+weak_alias(__libc_sigaction, sigaction)
+libc_hidden_weak(sigaction)
 #endif

+ 1 - 1
libm/s_fpclassifyf.c

@@ -21,7 +21,7 @@
 #include <math.h>
 #include "math_private.h"
 
-libm_hidden_proto (__fpclassifyf)
+libm_hidden_proto(__fpclassifyf)
 int
 __fpclassifyf (float x)
 {

+ 1 - 1
libm/s_isnanf.c

@@ -21,7 +21,7 @@
 #include "math.h"
 #include "math_private.h"
 
-libm_hidden_proto (__isnanf)
+libm_hidden_proto(__isnanf)
 int __isnanf(float x)
 {
 	int32_t ix;

+ 1 - 1
libpthread/linuxthreads.old/join.c

@@ -25,7 +25,7 @@
 #include "restart.h"
 #include "debug.h" /* PDEBUG, added by StS */
 
-libpthread_hidden_proto (pthread_exit)
+libpthread_hidden_proto(pthread_exit)
 void pthread_exit(void * retval)
 {
   __pthread_do_exit (retval, CURRENT_STACK_FRAME);