Browse Source

- remove superfluous ';'. No objcode changes.

Bernhard Reutner-Fischer 15 years ago
parent
commit
ae549acff0
100 changed files with 131 additions and 131 deletions
  1. 17 17
      libc/inet/socketcalls.c
  2. 1 1
      libc/misc/sysvipc/__syscall_ipc.c
  3. 2 2
      libc/misc/sysvipc/msgq.c
  4. 3 3
      libc/misc/sysvipc/sem.c
  5. 3 3
      libc/misc/sysvipc/shm.c
  6. 1 1
      libc/sysdeps/linux/common/__socketcall.c
  7. 1 1
      libc/sysdeps/linux/common/__syscall_fcntl.c
  8. 1 1
      libc/sysdeps/linux/common/__syscall_rt_sigaction.c
  9. 1 1
      libc/sysdeps/linux/common/__syscall_sigaction.c
  10. 1 1
      libc/sysdeps/linux/common/access.c
  11. 1 1
      libc/sysdeps/linux/common/acct.c
  12. 1 1
      libc/sysdeps/linux/common/adjtimex.c
  13. 1 1
      libc/sysdeps/linux/common/alarm.c
  14. 1 1
      libc/sysdeps/linux/common/arch_prctl.c
  15. 1 1
      libc/sysdeps/linux/common/bdflush.c
  16. 1 1
      libc/sysdeps/linux/common/capget.c
  17. 1 1
      libc/sysdeps/linux/common/capset.c
  18. 1 1
      libc/sysdeps/linux/common/chown.c
  19. 1 1
      libc/sysdeps/linux/common/clock_getres.c
  20. 1 1
      libc/sysdeps/linux/common/clock_gettime.c
  21. 1 1
      libc/sysdeps/linux/common/clock_settime.c
  22. 1 1
      libc/sysdeps/linux/common/close.c
  23. 1 1
      libc/sysdeps/linux/common/create_module.c
  24. 1 1
      libc/sysdeps/linux/common/delete_module.c
  25. 1 1
      libc/sysdeps/linux/common/dup.c
  26. 1 1
      libc/sysdeps/linux/common/dup2.c
  27. 3 3
      libc/sysdeps/linux/common/epoll.c
  28. 1 1
      libc/sysdeps/linux/common/execve.c
  29. 1 1
      libc/sysdeps/linux/common/fchdir.c
  30. 1 1
      libc/sysdeps/linux/common/fchown.c
  31. 1 1
      libc/sysdeps/linux/common/fdatasync.c
  32. 1 1
      libc/sysdeps/linux/common/fork.c
  33. 1 1
      libc/sysdeps/linux/common/fstatfs.c
  34. 1 1
      libc/sysdeps/linux/common/fsync.c
  35. 1 1
      libc/sysdeps/linux/common/ftruncate.c
  36. 1 1
      libc/sysdeps/linux/common/ftruncate64.c
  37. 1 1
      libc/sysdeps/linux/common/get_kernel_syms.c
  38. 1 1
      libc/sysdeps/linux/common/getcwd.c
  39. 1 1
      libc/sysdeps/linux/common/getegid.c
  40. 1 1
      libc/sysdeps/linux/common/geteuid.c
  41. 1 1
      libc/sysdeps/linux/common/getgid.c
  42. 2 2
      libc/sysdeps/linux/common/getgroups.c
  43. 1 1
      libc/sysdeps/linux/common/getitimer.c
  44. 1 1
      libc/sysdeps/linux/common/getpgrp.c
  45. 1 1
      libc/sysdeps/linux/common/getpid.c
  46. 1 1
      libc/sysdeps/linux/common/getppid.c
  47. 3 3
      libc/sysdeps/linux/common/getrlimit.c
  48. 1 1
      libc/sysdeps/linux/common/getrusage.c
  49. 2 2
      libc/sysdeps/linux/common/gettimeofday.c
  50. 1 1
      libc/sysdeps/linux/common/getuid.c
  51. 1 1
      libc/sysdeps/linux/common/init_module.c
  52. 3 3
      libc/sysdeps/linux/common/inotify.c
  53. 1 1
      libc/sysdeps/linux/common/ioctl.c
  54. 1 1
      libc/sysdeps/linux/common/ioperm.c
  55. 1 1
      libc/sysdeps/linux/common/iopl.c
  56. 1 1
      libc/sysdeps/linux/common/lchown.c
  57. 1 1
      libc/sysdeps/linux/common/link.c
  58. 1 1
      libc/sysdeps/linux/common/lseek.c
  59. 1 1
      libc/sysdeps/linux/common/madvise.c
  60. 1 1
      libc/sysdeps/linux/common/mincore.c
  61. 1 1
      libc/sysdeps/linux/common/mlock.c
  62. 1 1
      libc/sysdeps/linux/common/mlockall.c
  63. 1 1
      libc/sysdeps/linux/common/mmap.c
  64. 1 1
      libc/sysdeps/linux/common/modify_ldt.c
  65. 1 1
      libc/sysdeps/linux/common/mount.c
  66. 1 1
      libc/sysdeps/linux/common/mprotect.c
  67. 1 1
      libc/sysdeps/linux/common/mremap.c
  68. 1 1
      libc/sysdeps/linux/common/msync.c
  69. 1 1
      libc/sysdeps/linux/common/munlock.c
  70. 1 1
      libc/sysdeps/linux/common/munlockall.c
  71. 1 1
      libc/sysdeps/linux/common/munmap.c
  72. 1 1
      libc/sysdeps/linux/common/nanosleep.c
  73. 1 1
      libc/sysdeps/linux/common/pause.c
  74. 1 1
      libc/sysdeps/linux/common/personality.c
  75. 1 1
      libc/sysdeps/linux/common/pipe.c
  76. 1 1
      libc/sysdeps/linux/common/pivot_root.c
  77. 1 1
      libc/sysdeps/linux/common/poll.c
  78. 1 1
      libc/sysdeps/linux/common/posix_fadvise.c
  79. 1 1
      libc/sysdeps/linux/common/posix_fadvise64.c
  80. 1 1
      libc/sysdeps/linux/common/ppoll.c
  81. 1 1
      libc/sysdeps/linux/common/prctl.c
  82. 1 1
      libc/sysdeps/linux/common/query_module.c
  83. 1 1
      libc/sysdeps/linux/common/quotactl.c
  84. 1 1
      libc/sysdeps/linux/common/read.c
  85. 1 1
      libc/sysdeps/linux/common/readlink.c
  86. 1 1
      libc/sysdeps/linux/common/readv.c
  87. 1 1
      libc/sysdeps/linux/common/remap_file_pages.c
  88. 1 1
      libc/sysdeps/linux/common/rmdir.c
  89. 1 1
      libc/sysdeps/linux/common/sched_get_priority_max.c
  90. 1 1
      libc/sysdeps/linux/common/sched_get_priority_min.c
  91. 1 1
      libc/sysdeps/linux/common/sched_yield.c
  92. 2 2
      libc/sysdeps/linux/common/select.c
  93. 1 1
      libc/sysdeps/linux/common/sendfile.c
  94. 1 1
      libc/sysdeps/linux/common/sendfile64.c
  95. 1 1
      libc/sysdeps/linux/common/setdomainname.c
  96. 1 1
      libc/sysdeps/linux/common/setfsgid.c
  97. 1 1
      libc/sysdeps/linux/common/setfsuid.c
  98. 1 1
      libc/sysdeps/linux/common/setgid.c
  99. 2 2
      libc/sysdeps/linux/common/setgroups.c
  100. 1 1
      libc/sysdeps/linux/common/sethostname.c

+ 17 - 17
libc/inet/socketcalls.c

@@ -38,7 +38,7 @@ extern int __socketcall(int call, unsigned long *args) attribute_hidden;
 extern __typeof(accept) __libc_accept;
 #ifdef __NR_accept
 #define __NR___libc_accept  __NR_accept
-_syscall3(int, __libc_accept, int, call, struct sockaddr *, addr, socklen_t *,addrlen);
+_syscall3(int, __libc_accept, int, call, struct sockaddr *, addr, socklen_t *,addrlen)
 #elif defined(__NR_socketcall)
 int __libc_accept(int s, struct sockaddr *addr, socklen_t * addrlen)
 {
@@ -58,7 +58,7 @@ libc_hidden_weak(accept)
 #ifdef L_bind
 libc_hidden_proto(bind)
 #ifdef __NR_bind
-_syscall3(int, bind, int, sockfd, const struct sockaddr *, myaddr, socklen_t, addrlen);
+_syscall3(int, bind, int, sockfd, const struct sockaddr *, myaddr, socklen_t, addrlen)
 #elif defined(__NR_socketcall)
 int bind(int sockfd, const struct sockaddr *myaddr, socklen_t addrlen)
 {
@@ -77,7 +77,7 @@ libc_hidden_def(bind)
 extern __typeof(connect) __libc_connect;
 #ifdef __NR_connect
 #define __NR___libc_connect __NR_connect
-_syscall3(int, __libc_connect, int, sockfd, const struct sockaddr *, saddr, socklen_t, addrlen);
+_syscall3(int, __libc_connect, int, sockfd, const struct sockaddr *, saddr, socklen_t, addrlen)
 #elif defined(__NR_socketcall)
 int __libc_connect(int sockfd, const struct sockaddr *saddr, socklen_t addrlen)
 {
@@ -96,7 +96,7 @@ libc_hidden_weak(connect)
 
 #ifdef L_getpeername
 #ifdef __NR_getpeername
-_syscall3(int, getpeername, int, sockfd, struct sockaddr *, addr, socklen_t *,paddrlen);
+_syscall3(int, getpeername, int, sockfd, struct sockaddr *, addr, socklen_t *,paddrlen)
 #elif defined(__NR_socketcall)
 int getpeername(int sockfd, struct sockaddr *addr, socklen_t * paddrlen)
 {
@@ -113,7 +113,7 @@ int getpeername(int sockfd, struct sockaddr *addr, socklen_t * paddrlen)
 #ifdef L_getsockname
 libc_hidden_proto(getsockname)
 #ifdef __NR_getsockname
-_syscall3(int, getsockname, int, sockfd, struct sockaddr *, addr, socklen_t *,paddrlen);
+_syscall3(int, getsockname, int, sockfd, struct sockaddr *, addr, socklen_t *,paddrlen)
 #elif defined(__NR_socketcall)
 int getsockname(int sockfd, struct sockaddr *addr, socklen_t * paddrlen)
 {
@@ -130,7 +130,7 @@ libc_hidden_def(getsockname)
 
 #ifdef L_getsockopt
 #ifdef __NR_getsockopt
-_syscall5(int, getsockopt, int, fd, int, level, int, optname, __ptr_t, optval, socklen_t *, optlen);
+_syscall5(int, getsockopt, int, fd, int, level, int, optname, __ptr_t, optval, socklen_t *, optlen)
 #elif defined(__NR_socketcall)
 int getsockopt(int fd, int level, int optname, __ptr_t optval,
 		   socklen_t * optlen)
@@ -150,7 +150,7 @@ int getsockopt(int fd, int level, int optname, __ptr_t optval,
 #ifdef L_listen
 libc_hidden_proto(listen)
 #ifdef __NR_listen
-_syscall2(int, listen, int, sockfd, int, backlog);
+_syscall2(int, listen, int, sockfd, int, backlog)
 #elif defined(__NR_socketcall)
 int listen(int sockfd, int backlog)
 {
@@ -169,7 +169,7 @@ extern __typeof(recv) __libc_recv;
 #ifdef __NR_recv
 #define __NR___libc_recv __NR_recv
 _syscall4(ssize_t, __libc_recv, int, sockfd, __ptr_t, buffer, size_t, len,
-	int, flags);
+	int, flags)
 #elif defined(__NR_socketcall)
 /* recv, recvfrom added by bir7@leland.stanford.edu */
 ssize_t __libc_recv(int sockfd, __ptr_t buffer, size_t len, int flags)
@@ -199,7 +199,7 @@ extern __typeof(recvfrom) __libc_recvfrom;
 #ifdef __NR_recvfrom
 #define __NR___libc_recvfrom __NR_recvfrom
 _syscall6(ssize_t, __libc_recvfrom, int, sockfd, __ptr_t, buffer, size_t, len,
-	int, flags, struct sockaddr *, to, socklen_t *, tolen);
+	int, flags, struct sockaddr *, to, socklen_t *, tolen)
 #elif defined(__NR_socketcall)
 /* recv, recvfrom added by bir7@leland.stanford.edu */
 ssize_t __libc_recvfrom(int sockfd, __ptr_t buffer, size_t len, int flags,
@@ -225,7 +225,7 @@ libc_hidden_weak(recvfrom)
 extern __typeof(recvmsg) __libc_recvmsg;
 #ifdef __NR_recvmsg
 #define __NR___libc_recvmsg __NR_recvmsg
-_syscall3(ssize_t, __libc_recvmsg, int, sockfd, struct msghdr *, msg, int, flags);
+_syscall3(ssize_t, __libc_recvmsg, int, sockfd, struct msghdr *, msg, int, flags)
 #elif defined(__NR_socketcall)
 ssize_t __libc_recvmsg(int sockfd, struct msghdr *msg, int flags)
 {
@@ -246,7 +246,7 @@ libc_hidden_weak(recvmsg)
 extern __typeof(send) __libc_send;
 #ifdef __NR_send
 #define __NR___libc_send    __NR_send
-_syscall4(ssize_t, __libc_send, int, sockfd, const void *, buffer, size_t, len, int, flags);
+_syscall4(ssize_t, __libc_send, int, sockfd, const void *, buffer, size_t, len, int, flags)
 #elif defined(__NR_socketcall)
 /* send, sendto added by bir7@leland.stanford.edu */
 ssize_t __libc_send(int sockfd, const void *buffer, size_t len, int flags)
@@ -275,7 +275,7 @@ libc_hidden_weak(send)
 extern __typeof(sendmsg) __libc_sendmsg;
 #ifdef __NR_sendmsg
 #define __NR___libc_sendmsg __NR_sendmsg
-_syscall3(ssize_t, __libc_sendmsg, int, sockfd, const struct msghdr *, msg, int, flags);
+_syscall3(ssize_t, __libc_sendmsg, int, sockfd, const struct msghdr *, msg, int, flags)
 #elif defined(__NR_socketcall)
 ssize_t __libc_sendmsg(int sockfd, const struct msghdr *msg, int flags)
 {
@@ -297,7 +297,7 @@ extern __typeof(sendto) __libc_sendto;
 #ifdef __NR_sendto
 #define __NR___libc_sendto  __NR_sendto
 _syscall6(ssize_t, __libc_sendto, int, sockfd, const void *, buffer,
-	size_t, len, int, flags, const struct sockaddr *, to, socklen_t, tolen);
+	size_t, len, int, flags, const struct sockaddr *, to, socklen_t, tolen)
 #elif defined(__NR_socketcall)
 /* send, sendto added by bir7@leland.stanford.edu */
 ssize_t __libc_sendto(int sockfd, const void *buffer, size_t len, int flags,
@@ -322,7 +322,7 @@ libc_hidden_weak(sendto)
 #ifdef L_setsockopt
 libc_hidden_proto(setsockopt)
 #ifdef __NR_setsockopt
-_syscall5(int, setsockopt, int, fd, int, level, int, optname, const void *, optval, socklen_t, optlen);
+_syscall5(int, setsockopt, int, fd, int, level, int, optname, const void *, optval, socklen_t, optlen)
 #elif defined(__NR_socketcall)
 /* [sg]etsockoptions by bir7@leland.stanford.edu */
 int setsockopt(int fd, int level, int optname, const void *optval,
@@ -343,7 +343,7 @@ libc_hidden_def(setsockopt)
 
 #ifdef L_shutdown
 #ifdef __NR_shutdown
-_syscall2(int, shutdown, int, sockfd, int, how);
+_syscall2(int, shutdown, int, sockfd, int, how)
 #elif defined(__NR_socketcall)
 /* shutdown by bir7@leland.stanford.edu */
 int shutdown(int sockfd, int how)
@@ -360,7 +360,7 @@ int shutdown(int sockfd, int how)
 #ifdef L_socket
 libc_hidden_proto(socket)
 #ifdef __NR_socket
-_syscall3(int, socket, int, family, int, type, int, protocol);
+_syscall3(int, socket, int, family, int, type, int, protocol)
 #elif defined(__NR_socketcall)
 int socket(int family, int type, int protocol)
 {
@@ -377,7 +377,7 @@ libc_hidden_def(socket)
 
 #ifdef L_socketpair
 #ifdef __NR_socketpair
-_syscall4(int, socketpair, int, family, int, type, int, protocol, int *, sockvec);
+_syscall4(int, socketpair, int, family, int, type, int, protocol, int *, sockvec)
 #elif defined(__NR_socketcall)
 int socketpair(int family, int type, int protocol, int sockvec[2])
 {

+ 1 - 1
libc/misc/sysvipc/__syscall_ipc.c

@@ -13,5 +13,5 @@
 #define __NR___syscall_ipc __NR_ipc
 #include "ipc.h"
 _syscall6(int, __syscall_ipc, unsigned int, call, long, first, long, second, long,
-		  third, void *, ptr, void *, fifth);
+		  third, void *, ptr, void *, fifth)
 #endif

+ 2 - 2
libc/misc/sysvipc/msgq.c

@@ -43,7 +43,7 @@ struct new_msg_buf{
 
 #ifdef L_msgrcv
 #ifdef __NR_msgrcv
-_syscall5(int, msgrcv, int, msqid, void *, msgp, size_t, msgsz, long int, msgtyp, int, msgflg);
+_syscall5(int, msgrcv, int, msqid, void *, msgp, size_t, msgsz, long int, msgtyp, int, msgflg)
 #else
 int msgrcv (int msqid, void *msgp, size_t msgsz,
 	long int msgtyp, int msgflg)
@@ -61,7 +61,7 @@ int msgrcv (int msqid, void *msgp, size_t msgsz,
 
 #ifdef L_msgsnd
 #ifdef __NR_msgsnd
-_syscall4(int, msgsnd, int, msqid, const void *, msgp, size_t, msgsz, int, msgflg);
+_syscall4(int, msgsnd, int, msqid, const void *, msgp, size_t, msgsz, int, msgflg)
 #else
 /* Send message to message queue.  */
 int msgsnd (int msqid, const void *msgp, size_t msgsz, int msgflg)

+ 3 - 3
libc/misc/sysvipc/sem.c

@@ -63,7 +63,7 @@ int semctl(int semid, int semnum, int cmd, ...)
 
 #ifdef L_semget
 #ifdef __NR_semget
-_syscall3(int, semget, key_t, key, int, nsems, int, semflg);
+_syscall3(int, semget, key_t, key, int, nsems, int, semflg)
 
 #else
 /* Return identifier for array of NSEMS semaphores associated
@@ -78,7 +78,7 @@ int semget (key_t key, int nsems, int semflg)
 #ifdef L_semop
 
 #ifdef __NR_semop
-_syscall3(int, semop, int, semid, struct sembuf *, sops, size_t, nsops);
+_syscall3(int, semop, int, semid, struct sembuf *, sops, size_t, nsops)
 
 #else
 /* Perform user-defined atomical operation of array of semaphores.  */
@@ -92,7 +92,7 @@ int semop (int semid, struct sembuf *sops, size_t nsops)
 #ifdef L_semtimedop
 
 #ifdef __NR_semtimedop
-_syscall4(int, semtimedop, int, semid, struct sembuf *, sops, size_t, nsops, const struct timespec *, timeout);
+_syscall4(int, semtimedop, int, semid, struct sembuf *, sops, size_t, nsops, const struct timespec *, timeout)
 
 #else
 

+ 3 - 3
libc/misc/sysvipc/shm.c

@@ -34,7 +34,7 @@
 # define __NR_shmat  __NR_osf_shmat
 #endif
 #ifdef __NR_shmat
-_syscall3(void *, shmat, int, shmid, const void *,shmaddr, int, shmflg);
+_syscall3(void *, shmat, int, shmid, const void *,shmaddr, int, shmflg)
 #else
 /* psm: don't remove this, else mips will fail */
 #include <unistd.h>
@@ -73,7 +73,7 @@ int shmctl(int shmid, int cmd, struct shmid_ds *buf)
 /* Detach shared memory segment starting at address specified by SHMADDR
    from the caller's data segment.  */
 #ifdef __NR_shmdt
-_syscall1(int, shmdt, const void *, shmaddr);
+_syscall1(int, shmdt, const void *, shmaddr)
 #else
 int shmdt (const void *shmaddr)
 {
@@ -86,7 +86,7 @@ int shmdt (const void *shmaddr)
 /* Return an identifier for an shared memory segment of at least size SIZE
    which is associated with KEY.  */
 #ifdef __NR_shmget
-_syscall3(int, shmget, key_t, key, size_t, size, int, shmflg);
+_syscall3(int, shmget, key_t, key, size_t, size, int, shmflg)
 #else
 int shmget (key_t key, size_t size, int shmflg)
 {

+ 1 - 1
libc/sysdeps/linux/common/__socketcall.c

@@ -11,5 +11,5 @@
 #ifdef __NR_socketcall
 #define __NR___socketcall __NR_socketcall
 int __socketcall(int __call, unsigned long *__args) attribute_hidden;
-_syscall2(int, __socketcall, int, call, unsigned long *, args);
+_syscall2(int, __socketcall, int, call, unsigned long *, args)
 #endif

+ 1 - 1
libc/sysdeps/linux/common/__syscall_fcntl.c

@@ -22,7 +22,7 @@ libc_hidden_proto(__libc_fcntl64)
 
 #define __NR___syscall_fcntl __NR_fcntl
 static inline
-_syscall3(int, __syscall_fcntl, int, fd, int, cmd, long, arg);
+_syscall3(int, __syscall_fcntl, int, fd, int, cmd, long, arg)
 
 int __libc_fcntl(int fd, int cmd, ...)
 {

+ 1 - 1
libc/sysdeps/linux/common/__syscall_rt_sigaction.c

@@ -16,5 +16,5 @@ int __syscall_rt_sigaction (int __signum, const struct sigaction *__act, struct
 #define __NR___syscall_rt_sigaction __NR_rt_sigaction
 _syscall4(int, __syscall_rt_sigaction, int, signum,
 		  const struct sigaction *, act, struct sigaction *, oldact,
-		  size_t, size);
+		  size_t, size)
 #endif

+ 1 - 1
libc/sysdeps/linux/common/__syscall_sigaction.c

@@ -14,6 +14,6 @@
 #include <signal.h>
 int __syscall_sigaction (int __signum, const struct sigaction *__act, struct sigaction *__oldact) attribute_hidden;
 _syscall3(int, __syscall_sigaction, int, signum, const struct sigaction *,
-		  act, struct sigaction *, oldact);
+		  act, struct sigaction *, oldact)
 #endif
 

+ 1 - 1
libc/sysdeps/linux/common/access.c

@@ -9,4 +9,4 @@
 
 #include <sys/syscall.h>
 #include <unistd.h>
-_syscall2(int, access, const char *, pathname, int, mode);
+_syscall2(int, access, const char *, pathname, int, mode)

+ 1 - 1
libc/sysdeps/linux/common/acct.c

@@ -10,5 +10,5 @@
 #include <sys/syscall.h>
 #include <unistd.h>
 #if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
-_syscall1(int, acct, const char *, filename);
+_syscall1(int, acct, const char *, filename)
 #endif

+ 1 - 1
libc/sysdeps/linux/common/adjtimex.c

@@ -12,7 +12,7 @@
 
 libc_hidden_proto(adjtimex)
 
-_syscall1(int, adjtimex, struct timex *, buf);
+_syscall1(int, adjtimex, struct timex *, buf)
 libc_hidden_def(adjtimex)
 #if defined __UCLIBC_NTP_LEGACY__
 strong_alias(adjtimex,ntp_adjtime)

+ 1 - 1
libc/sysdeps/linux/common/alarm.c

@@ -14,7 +14,7 @@ libc_hidden_proto(alarm)
 
 #ifdef __NR_alarm
 #define __NR___alarm __NR_alarm
-_syscall1(unsigned int, alarm, unsigned int, seconds);
+_syscall1(unsigned int, alarm, unsigned int, seconds)
 #else
 #include <sys/time.h>
 

+ 1 - 1
libc/sysdeps/linux/common/arch_prctl.c

@@ -11,5 +11,5 @@
 
 #ifdef __NR_arch_prctl
 extern int arch_prctl(int code, unsigned long addr);
-_syscall2(int, arch_prctl, int, code, unsigned long, addr);
+_syscall2(int, arch_prctl, int, code, unsigned long, addr)
 #endif

+ 1 - 1
libc/sysdeps/linux/common/bdflush.c

@@ -11,7 +11,7 @@
 #include <sys/kdaemon.h>
 
 #ifdef __NR_bdflush
-_syscall2(int, bdflush, int, __func, long int, __data);
+_syscall2(int, bdflush, int, __func, long int, __data)
 #else
 int bdflush(int __func, long int __data)
 {

+ 1 - 1
libc/sysdeps/linux/common/capget.c

@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 int capget(void *header, void *data);
 #ifdef __NR_capget
-_syscall2(int, capget, void *, header, void *, data);
+_syscall2(int, capget, void *, header, void *, data)
 #else
 int capget(void *header, void *data)
 {

+ 1 - 1
libc/sysdeps/linux/common/capset.c

@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 int capset(void *header, const void *data);
 #ifdef __NR_capset
-_syscall2(int, capset, void *, header, const void *, data);
+_syscall2(int, capset, void *, header, const void *, data)
 #else
 int capset(void *header, const void *data)
 {

+ 1 - 1
libc/sysdeps/linux/common/chown.c

@@ -19,7 +19,7 @@ libc_hidden_proto(chown)
 #  define __NR_chown __NR_chown32
 # endif
 
-_syscall3(int, chown, const char *, path, uid_t, owner, gid_t, group);
+_syscall3(int, chown, const char *, path, uid_t, owner, gid_t, group)
 
 #else
 

+ 1 - 1
libc/sysdeps/linux/common/clock_getres.c

@@ -12,7 +12,7 @@
 #include <unistd.h>
 
 #ifdef __NR_clock_getres
-_syscall2(int, clock_getres, clockid_t, clock_id, struct timespec*, res);
+_syscall2(int, clock_getres, clockid_t, clock_id, struct timespec*, res)
 #else
 libc_hidden_proto(sysconf)
 

+ 1 - 1
libc/sysdeps/linux/common/clock_gettime.c

@@ -13,7 +13,7 @@
 #include <sys/time.h>
 
 #ifdef __NR_clock_gettime
-_syscall2(int, clock_gettime, clockid_t, clock_id, struct timespec*, tp);
+_syscall2(int, clock_gettime, clockid_t, clock_id, struct timespec*, tp)
 #else
 libc_hidden_proto(gettimeofday)
 

+ 1 - 1
libc/sysdeps/linux/common/clock_settime.c

@@ -12,7 +12,7 @@
 #include <sys/time.h>
 
 #ifdef __NR_clock_settime
-_syscall2(int, clock_settime, clockid_t, clock_id, const struct timespec*, tp);
+_syscall2(int, clock_settime, clockid_t, clock_id, const struct timespec*, tp)
 #else
 libc_hidden_proto(settimeofday)
 

+ 1 - 1
libc/sysdeps/linux/common/close.c

@@ -12,7 +12,7 @@
 
 extern __typeof(close) __libc_close;
 #define __NR___libc_close __NR_close
-_syscall1(int, __libc_close, int, fd);
+_syscall1(int, __libc_close, int, fd)
 libc_hidden_proto(close)
 weak_alias(__libc_close,close)
 libc_hidden_weak(close)

+ 1 - 1
libc/sysdeps/linux/common/create_module.c

@@ -46,7 +46,7 @@ unsigned long create_module(const char *name, size_t size)
 }
 #else
 /* Sparc, MIPS, etc don't mistake return values for errors. */
-_syscall2(unsigned long, create_module, const char *, name, size_t, size);
+_syscall2(unsigned long, create_module, const char *, name, size_t, size)
 #endif
 
 #else /* !__NR_create_module */

+ 1 - 1
libc/sysdeps/linux/common/delete_module.c

@@ -9,7 +9,7 @@
 #include <sys/syscall.h>
 int delete_module(const char *name, unsigned int flags);
 #ifdef __NR_delete_module
-_syscall2(int, delete_module, const char *, name, unsigned int, flags);
+_syscall2(int, delete_module, const char *, name, unsigned int, flags)
 #elif defined __UCLIBC_HAS_STUBS__
 int delete_module(const char *name, unsigned int flags)
 {

+ 1 - 1
libc/sysdeps/linux/common/dup.c

@@ -8,4 +8,4 @@
 
 #include <sys/syscall.h>
 #include <unistd.h>
-_syscall1(int, dup, int, oldfd);
+_syscall1(int, dup, int, oldfd)

+ 1 - 1
libc/sysdeps/linux/common/dup2.c

@@ -12,5 +12,5 @@
 
 libc_hidden_proto(dup2)
 
-_syscall2(int, dup2, int, oldfd, int, newfd);
+_syscall2(int, dup2, int, oldfd, int, newfd)
 libc_hidden_def(dup2)

+ 3 - 3
libc/sysdeps/linux/common/epoll.c

@@ -14,7 +14,7 @@
  * epoll_create()
  */
 #ifdef __NR_epoll_create
-_syscall1(int, epoll_create, int, size);
+_syscall1(int, epoll_create, int, size)
 #else
 int epoll_create(int size)
 {
@@ -27,7 +27,7 @@ int epoll_create(int size)
  * epoll_ctl()
  */
 #ifdef __NR_epoll_ctl
-_syscall4(int,epoll_ctl, int, epfd, int, op, int, fd, struct epoll_event *, event);
+_syscall4(int,epoll_ctl, int, epfd, int, op, int, fd, struct epoll_event *, event)
 #else
 int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event)
 {
@@ -40,7 +40,7 @@ int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event)
  * epoll_wait()
  */
 #ifdef __NR_epoll_wait
-_syscall4(int, epoll_wait, int, epfd, struct epoll_event *, events, int, maxevents, int, timeout);
+_syscall4(int, epoll_wait, int, epfd, struct epoll_event *, events, int, maxevents, int, timeout)
 #else
 int epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout)
 {

+ 1 - 1
libc/sysdeps/linux/common/execve.c

@@ -14,5 +14,5 @@
 
 libc_hidden_proto(execve)
 _syscall3(int, execve, const char *, filename,
-		  char *const *, argv, char *const *, envp);
+		  char *const *, argv, char *const *, envp)
 libc_hidden_def(execve)

+ 1 - 1
libc/sysdeps/linux/common/fchdir.c

@@ -12,5 +12,5 @@
 
 libc_hidden_proto(fchdir)
 
-_syscall1(int, fchdir, int, fd);
+_syscall1(int, fchdir, int, fd)
 libc_hidden_def(fchdir)

+ 1 - 1
libc/sysdeps/linux/common/fchown.c

@@ -17,7 +17,7 @@
 #  define __NR_fchown __NR_fchown32
 # endif
 
-_syscall3(int, fchown, int, fd, uid_t, owner, gid_t, group);
+_syscall3(int, fchown, int, fd, uid_t, owner, gid_t, group)
 
 #else
 

+ 1 - 1
libc/sysdeps/linux/common/fdatasync.c

@@ -14,4 +14,4 @@
 # define __NR_fdatasync __NR_osf_fdatasync
 #endif
 
-_syscall1(int, fdatasync, int, fd);
+_syscall1(int, fdatasync, int, fd)

+ 1 - 1
libc/sysdeps/linux/common/fork.c

@@ -15,7 +15,7 @@
 #ifdef __NR_fork
 extern __typeof(fork) __libc_fork;
 #define __NR___libc_fork __NR_fork
-_syscall0(pid_t, __libc_fork);
+_syscall0(pid_t, __libc_fork)
 libc_hidden_proto(fork)
 weak_alias(__libc_fork,fork)
 libc_hidden_weak(fork)

+ 1 - 1
libc/sysdeps/linux/common/fstatfs.c

@@ -25,7 +25,7 @@ extern int __REDIRECT_NTH (fstatfs, (int __fildes, struct statfs *__buf),
 extern __typeof(fstatfs) __libc_fstatfs;
 libc_hidden_proto(__libc_fstatfs)
 #define __NR___libc_fstatfs __NR_fstatfs
-_syscall2(int, __libc_fstatfs, int, fd, struct statfs *, buf);
+_syscall2(int, __libc_fstatfs, int, fd, struct statfs *, buf)
 libc_hidden_def(__libc_fstatfs)
 
 #if defined __UCLIBC_LINUX_SPECIFIC__

+ 1 - 1
libc/sysdeps/linux/common/fsync.c

@@ -12,5 +12,5 @@
 
 extern __typeof(fsync) __libc_fsync;
 #define __NR___libc_fsync __NR_fsync
-_syscall1(int, __libc_fsync, int, fd);
+_syscall1(int, __libc_fsync, int, fd)
 weak_alias(__libc_fsync, fsync)

+ 1 - 1
libc/sysdeps/linux/common/ftruncate.c

@@ -12,5 +12,5 @@
 
 libc_hidden_proto(ftruncate)
 
-_syscall2(int, ftruncate, int, fd, __off_t, length);
+_syscall2(int, ftruncate, int, fd, __off_t, length)
 libc_hidden_def(ftruncate)

+ 1 - 1
libc/sysdeps/linux/common/ftruncate64.c

@@ -28,7 +28,7 @@ libc_hidden_proto(ftruncate64)
 #  if __WORDSIZE == 64
 
 /* For a 64 bit machine, life is simple... */
-_syscall2(int, ftruncate64, int, fd, __off64_t, length);
+_syscall2(int, ftruncate64, int, fd, __off64_t, length)
 
 #  elif __WORDSIZE == 32
 

+ 1 - 1
libc/sysdeps/linux/common/get_kernel_syms.c

@@ -12,7 +12,7 @@
 struct kernel_sym;
 int get_kernel_syms(struct kernel_sym *table attribute_unused);
 #ifdef __NR_get_kernel_syms
-_syscall1(int, get_kernel_syms, struct kernel_sym *, table);
+_syscall1(int, get_kernel_syms, struct kernel_sym *, table)
 #else
 int get_kernel_syms(struct kernel_sym *table attribute_unused)
 {

+ 1 - 1
libc/sysdeps/linux/common/getcwd.c

@@ -31,7 +31,7 @@ libc_hidden_proto(stat)
 
 # define __NR___syscall_getcwd __NR_getcwd
 static inline
-_syscall2(int, __syscall_getcwd, char *, buf, unsigned long, size);
+_syscall2(int, __syscall_getcwd, char *, buf, unsigned long, size)
 
 #else
 

+ 1 - 1
libc/sysdeps/linux/common/getegid.c

@@ -15,7 +15,7 @@ libc_hidden_proto(getegid)
 #if defined(__NR_getegid32)
 # undef __NR_getegid
 # define __NR_getegid __NR_getegid32
-_syscall0(gid_t, getegid);
+_syscall0(gid_t, getegid)
 
 #elif defined(__NR_getegid)
 # define __NR___syscall_getegid __NR_getegid

+ 1 - 1
libc/sysdeps/linux/common/geteuid.c

@@ -15,7 +15,7 @@ libc_hidden_proto(geteuid)
 #if defined(__NR_geteuid32)
 # undef __NR_geteuid
 # define __NR_geteuid __NR_geteuid32
-_syscall0(uid_t, geteuid);
+_syscall0(uid_t, geteuid)
 
 #elif defined(__NR_geteuid)
 # define __NR___syscall_geteuid __NR_geteuid

+ 1 - 1
libc/sysdeps/linux/common/getgid.c

@@ -20,5 +20,5 @@
 #endif
 
 libc_hidden_proto(getgid)
-_syscall0(gid_t, getgid);
+_syscall0(gid_t, getgid)
 libc_hidden_def(getgid)

+ 2 - 2
libc/sysdeps/linux/common/getgroups.c

@@ -17,10 +17,10 @@ libc_hidden_proto(getgroups)
 #if defined(__NR_getgroups32)
 # undef __NR_getgroups
 # define __NR_getgroups __NR_getgroups32
-_syscall2(int, getgroups, int, size, gid_t *, list);
+_syscall2(int, getgroups, int, size, gid_t *, list)
 
 #elif __WORDSIZE == 64
-_syscall2(int, getgroups, int, size, gid_t *, list);
+_syscall2(int, getgroups, int, size, gid_t *, list)
 
 #else
 

+ 1 - 1
libc/sysdeps/linux/common/getitimer.c

@@ -9,4 +9,4 @@
 
 #include <sys/syscall.h>
 #include <sys/time.h>
-_syscall2(int, getitimer, __itimer_which_t, which, struct itimerval *, value);
+_syscall2(int, getitimer, __itimer_which_t, which, struct itimerval *, value)

+ 1 - 1
libc/sysdeps/linux/common/getpgrp.c

@@ -12,5 +12,5 @@
 
 #ifdef __NR_getpgrp
 /* According to the manpage the POSIX.1 version is favoured */
-_syscall0(pid_t, getpgrp);
+_syscall0(pid_t, getpgrp)
 #endif

+ 1 - 1
libc/sysdeps/linux/common/getpid.c

@@ -15,7 +15,7 @@ extern __typeof(getpid) __libc_getpid;
 # define __NR_getpid __NR_getxpid
 #endif
 #define __NR___libc_getpid __NR_getpid
-_syscall0(pid_t, __libc_getpid);
+_syscall0(pid_t, __libc_getpid)
 libc_hidden_proto(getpid)
 weak_alias(__libc_getpid, getpid)
 libc_hidden_weak(getpid)

+ 1 - 1
libc/sysdeps/linux/common/getppid.c

@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <unistd.h>
 #ifdef	__NR_getppid
-_syscall0(pid_t, getppid);
+_syscall0(pid_t, getppid)
 #else
 libc_hidden_proto(getpid)
 pid_t getppid(void)

+ 3 - 3
libc/sysdeps/linux/common/getrlimit.c

@@ -23,7 +23,7 @@ libc_hidden_proto(getrlimit)
 # define __NR___syscall_ugetrlimit __NR_ugetrlimit
 static inline
 _syscall2(int, __syscall_ugetrlimit, enum __rlimit_resource, resource,
-          struct rlimit *, rlim);
+          struct rlimit *, rlim)
 int getrlimit(__rlimit_resource_t resource, struct rlimit *rlimits)
 {
 	return (__syscall_ugetrlimit(resource, rlimits));
@@ -33,14 +33,14 @@ int getrlimit(__rlimit_resource_t resource, struct rlimit *rlimits)
 
 /* We don't need to wrap getrlimit() */
 _syscall2(int, getrlimit, __rlimit_resource_t, resource,
-		struct rlimit *, rlim);
+		struct rlimit *, rlim)
 
 #else
 
 /* we have to handle old style getrlimit() */
 # define __NR___syscall_getrlimit __NR_getrlimit
 static inline
-_syscall2(int, __syscall_getrlimit, int, resource, struct rlimit *, rlim);
+_syscall2(int, __syscall_getrlimit, int, resource, struct rlimit *, rlim)
 
 int getrlimit(__rlimit_resource_t resource, struct rlimit *rlimits)
 {

+ 1 - 1
libc/sysdeps/linux/common/getrusage.c

@@ -10,4 +10,4 @@
 #include <sys/syscall.h>
 #include <unistd.h>
 #include <wait.h>
-_syscall2(int, getrusage, __rusage_who_t, who, struct rusage *, usage);
+_syscall2(int, getrusage, __rusage_who_t, who, struct rusage *, usage)

+ 2 - 2
libc/sysdeps/linux/common/gettimeofday.c

@@ -12,8 +12,8 @@
 
 libc_hidden_proto(gettimeofday)
 #ifdef __USE_BSD
-_syscall2(int, gettimeofday, struct timeval *, tv, struct timezone *, tz);
+_syscall2(int, gettimeofday, struct timeval *, tv, struct timezone *, tz)
 #else
-_syscall2(int, gettimeofday, struct timeval *, tv, void *, tz);
+_syscall2(int, gettimeofday, struct timeval *, tv, void *, tz)
 #endif
 libc_hidden_def(gettimeofday)

+ 1 - 1
libc/sysdeps/linux/common/getuid.c

@@ -20,5 +20,5 @@
 #endif
 
 libc_hidden_proto(getuid)
-_syscall0(uid_t, getuid);
+_syscall0(uid_t, getuid)
 libc_hidden_def(getuid)

+ 1 - 1
libc/sysdeps/linux/common/init_module.c

@@ -14,7 +14,7 @@ int init_module(void *first, void *second, void *third, void *fourth, void *fift
  * (for 2.2 and 2.4 kernels).  Use the greatest common denominator,
  * and let the kernel cope with whatever it gets.  It's good at that. */
 _syscall5(int, init_module, void *, first, void *, second, void *, third,
-		  void *, fourth, void *, fifth);
+		  void *, fourth, void *, fifth)
 #else
 int init_module(void *first, void *second, void *third, void *fourth, void *fifth)
 {

+ 3 - 3
libc/sysdeps/linux/common/inotify.c

@@ -12,13 +12,13 @@
 #include <sys/inotify.h>
 
 #ifdef __NR_inotify_init
-_syscall0(int, inotify_init);
+_syscall0(int, inotify_init)
 #endif
 
 #ifdef __NR_inotify_add_watch
-_syscall3(int, inotify_add_watch, int, fd, const char *, path, uint32_t, mask);
+_syscall3(int, inotify_add_watch, int, fd, const char *, path, uint32_t, mask)
 #endif
 
 #ifdef __NR_inotify_rm_watch
-_syscall2(int, inotify_rm_watch, int, fd, uint32_t, wd);
+_syscall2(int, inotify_rm_watch, int, fd, uint32_t, wd)
 #endif

+ 1 - 1
libc/sysdeps/linux/common/ioctl.c

@@ -15,7 +15,7 @@ libc_hidden_proto(ioctl)
 
 #define __NR___syscall_ioctl __NR_ioctl
 static inline
-_syscall3(int, __syscall_ioctl, int, fd, int, request, void *, arg);
+_syscall3(int, __syscall_ioctl, int, fd, int, request, void *, arg)
 
 int ioctl(int fd, unsigned long int request, ...)
 {

+ 1 - 1
libc/sysdeps/linux/common/ioperm.c

@@ -11,5 +11,5 @@
 #if defined __ARCH_USE_MMU__ && defined __NR_ioperm
 /* psm: can't #include <sys/io.h>, some archs miss it */
 extern int ioperm(unsigned long __from, unsigned long __num, int __turn_on) __THROW;
-_syscall3(int, ioperm, unsigned long, from, unsigned long, num, int, turn_on);
+_syscall3(int, ioperm, unsigned long, from, unsigned long, num, int, turn_on)
 #endif

+ 1 - 1
libc/sysdeps/linux/common/iopl.c

@@ -11,5 +11,5 @@
 #if defined __ARCH_USE_MMU__ && defined __NR_iopl
 /* psm: can't #include <sys/io.h>, some archs miss it */
 extern int iopl(int __level) __THROW;
-_syscall1(int, iopl, int, level);
+_syscall1(int, iopl, int, level)
 #endif

+ 1 - 1
libc/sysdeps/linux/common/lchown.c

@@ -17,7 +17,7 @@
 #  define __NR_lchown __NR_lchown32
 # endif
 
-_syscall3(int, lchown, const char *, path, uid_t, owner, gid_t, group);
+_syscall3(int, lchown, const char *, path, uid_t, owner, gid_t, group)
 
 #else
 

+ 1 - 1
libc/sysdeps/linux/common/link.c

@@ -9,4 +9,4 @@
 
 #include <sys/syscall.h>
 #include <unistd.h>
-_syscall2(int, link, const char *, oldpath, const char *, newpath);
+_syscall2(int, link, const char *, oldpath, const char *, newpath)

+ 1 - 1
libc/sysdeps/linux/common/lseek.c

@@ -15,7 +15,7 @@ libc_hidden_proto(__libc_lseek)
 
 #ifdef __NR_lseek
 #define __NR___libc_lseek __NR_lseek
-_syscall3(__off_t, __libc_lseek, int, fildes, __off_t, offset, int, whence);
+_syscall3(__off_t, __libc_lseek, int, fildes, __off_t, offset, int, whence)
 #else
 extern __typeof(lseek64) __libc_lseek64;
 libc_hidden_proto(__libc_lseek64)

+ 1 - 1
libc/sysdeps/linux/common/madvise.c

@@ -10,5 +10,5 @@
 #include <sys/syscall.h>
 #include <sys/mman.h>
 #if defined __NR_madvise && defined __USE_BSD
-_syscall3(int, madvise, void *, __addr, size_t, __len, int, __advice);
+_syscall3(int, madvise, void *, __addr, size_t, __len, int, __advice)
 #endif

+ 1 - 1
libc/sysdeps/linux/common/mincore.c

@@ -11,5 +11,5 @@
 #if defined __NR_mincore && (defined __USE_BSD || defined __USE_SVID)
 #include <unistd.h>
 #include <sys/mman.h>
-_syscall3(int, mincore, void *, start, size_t, length, unsigned char *, vec);
+_syscall3(int, mincore, void *, start, size_t, length, unsigned char *, vec)
 #endif

+ 1 - 1
libc/sysdeps/linux/common/mlock.c

@@ -10,5 +10,5 @@
 #include <sys/syscall.h>
 #include <sys/mman.h>
 #if defined __ARCH_USE_MMU__ && defined __NR_mlock
-_syscall2(int, mlock, const void *, addr, size_t, len);
+_syscall2(int, mlock, const void *, addr, size_t, len)
 #endif

+ 1 - 1
libc/sysdeps/linux/common/mlockall.c

@@ -10,5 +10,5 @@
 #include <sys/syscall.h>
 #include <sys/mman.h>
 #if defined __ARCH_USE_MMU__ && defined __NR_mlockall
-_syscall1(int, mlockall, int, flags);
+_syscall1(int, mlockall, int, flags)
 #endif

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

@@ -19,7 +19,7 @@ libc_hidden_proto(mmap)
 #ifdef __UCLIBC_MMAP_HAS_6_ARGS__
 
 _syscall6(void *, mmap, void *, start, size_t, length,
-		int, prot, int, flags, int, fd, off_t, offset);
+		int, prot, int, flags, int, fd, off_t, offset)
 
 #else
 

+ 1 - 1
libc/sysdeps/linux/common/modify_ldt.c

@@ -11,5 +11,5 @@
 
 int modify_ldt (int func, void *ptr, unsigned long bytecount);
 #ifdef __NR_modify_ldt
-_syscall3(int, modify_ldt, int, func, void *, ptr, unsigned long, bytecount);
+_syscall3(int, modify_ldt, int, func, void *, ptr, unsigned long, bytecount)
 #endif

+ 1 - 1
libc/sysdeps/linux/common/mount.c

@@ -11,4 +11,4 @@
 #include <sys/mount.h>
 _syscall5(int, mount, const char *, specialfile, const char *, dir,
 		  const char *, filesystemtype, unsigned long, rwflag,
-		  const void *, data);
+		  const void *, data)

+ 1 - 1
libc/sysdeps/linux/common/mprotect.c

@@ -11,5 +11,5 @@
 #include <sys/mman.h>
 
 #if defined __ARCH_USE_MMU__ && defined __NR_mprotect
-_syscall3(int, mprotect, void *, addr, size_t, len, int, prot);
+_syscall3(int, mprotect, void *, addr, size_t, len, int, prot)
 #endif

+ 1 - 1
libc/sysdeps/linux/common/mremap.c

@@ -20,7 +20,7 @@ void *mremap(void *, size_t, size_t, int, void *);
 
 libc_hidden_proto(mremap)
 _syscall5(void *, mremap, void *, old_address, size_t, old_size, size_t,
-		  new_size, int, may_move, void *, new_address);
+		  new_size, int, may_move, void *, new_address)
 libc_hidden_def(mremap)
 
 #endif

+ 1 - 1
libc/sysdeps/linux/common/msync.c

@@ -16,7 +16,7 @@
 
 extern __typeof(msync) __libc_msync;
 #define __NR___libc_msync __NR_msync
-_syscall3(int, __libc_msync, void *, addr, size_t, length, int, flags);
+_syscall3(int, __libc_msync, void *, addr, size_t, length, int, flags)
 weak_alias(__libc_msync,msync)
 
 #endif

+ 1 - 1
libc/sysdeps/linux/common/munlock.c

@@ -10,5 +10,5 @@
 #include <sys/syscall.h>
 #include <sys/mman.h>
 #if defined __ARCH_USE_MMU__ && defined __NR_munlock
-_syscall2(int, munlock, const void *, addr, size_t, len);
+_syscall2(int, munlock, const void *, addr, size_t, len)
 #endif

+ 1 - 1
libc/sysdeps/linux/common/munlockall.c

@@ -12,5 +12,5 @@
 #if defined __NR_munlockall && defined __ARCH_USE_MMU__
 #include <sys/mman.h>
 
-_syscall0(int, munlockall);
+_syscall0(int, munlockall)
 #endif

+ 1 - 1
libc/sysdeps/linux/common/munmap.c

@@ -13,5 +13,5 @@
 
 libc_hidden_proto(munmap)
 
-_syscall2(int, munmap, void *, start, size_t, length);
+_syscall2(int, munmap, void *, start, size_t, length)
 libc_hidden_def(munmap)

+ 1 - 1
libc/sysdeps/linux/common/nanosleep.c

@@ -15,7 +15,7 @@
 extern __typeof(nanosleep) __libc_nanosleep;
 #define __NR___libc_nanosleep __NR_nanosleep
 _syscall2(int, __libc_nanosleep, const struct timespec *, req,
-		  struct timespec *, rem);
+		  struct timespec *, rem)
 libc_hidden_proto(nanosleep)
 weak_alias(__libc_nanosleep,nanosleep)
 libc_hidden_weak(nanosleep)

+ 1 - 1
libc/sysdeps/linux/common/pause.c

@@ -14,7 +14,7 @@
 extern __typeof(pause) __libc_pause;
 #ifdef __NR_pause
 #define __NR___libc_pause __NR_pause
-_syscall0(int, __libc_pause);
+_syscall0(int, __libc_pause)
 #else
 #include <signal.h>
 libc_hidden_proto(__sigpause)

+ 1 - 1
libc/sysdeps/linux/common/personality.c

@@ -9,4 +9,4 @@
 
 #include <sys/syscall.h>
 #include <sys/personality.h>
-_syscall1(int, personality, unsigned long int, __persona);
+_syscall1(int, personality, unsigned long int, __persona)

+ 1 - 1
libc/sysdeps/linux/common/pipe.c

@@ -12,5 +12,5 @@
 
 libc_hidden_proto(pipe)
 
-_syscall1(int, pipe, int *, filedes);
+_syscall1(int, pipe, int *, filedes)
 libc_hidden_def(pipe)

+ 1 - 1
libc/sysdeps/linux/common/pivot_root.c

@@ -11,7 +11,7 @@
 
 int pivot_root(const char *new_root, const char *put_old);
 #ifdef __NR_pivot_root
-_syscall2(int, pivot_root, const char *, new_root, const char *, put_old);
+_syscall2(int, pivot_root, const char *, new_root, const char *, put_old)
 #else
 int pivot_root(const char *new_root, const char *put_old)
 {

+ 1 - 1
libc/sysdeps/linux/common/poll.c

@@ -26,7 +26,7 @@ extern __typeof(poll) __libc_poll;
 
 # define __NR___libc_poll __NR_poll
 _syscall3(int, __libc_poll, struct pollfd *, fds,
-	unsigned long int, nfds, int, timeout);
+	unsigned long int, nfds, int, timeout)
 
 #elif defined(__NR_ppoll) && defined __UCLIBC_LINUX_SPECIFIC__
 

+ 1 - 1
libc/sysdeps/linux/common/posix_fadvise.c

@@ -36,7 +36,7 @@ int posix_fadvise(int fd, off_t offset, off_t len, int advice)
 static __inline__ int syscall_posix_fadvise(int fd, off_t offset1, off_t offset2, off_t len, int advice);
 #define __NR_syscall_posix_fadvise __NR_fadvise64
 _syscall5(int, syscall_posix_fadvise, int, fd, off_t, offset1,
-          off_t, offset2, off_t, len, int, advice);
+          off_t, offset2, off_t, len, int, advice)
 
 int posix_fadvise(int fd, off_t offset, off_t len, int advice)
 {

+ 1 - 1
libc/sysdeps/linux/common/posix_fadvise64.c

@@ -43,7 +43,7 @@ int posix_fadvise64(int fd, __off64_t offset, __off64_t len, int advice)
 static __inline__ int syscall_posix_fadvise(int fd, off_t offset1, off_t offset2, off_t len, int advice);
 #define __NR_syscall_posix_fadvise64 __NR_posix_fadvise64
 _syscall4(int, syscall_posix_fadvise64, int, fd, __off64_t, offset,
-          __off64_t, len, int, advice);
+          __off64_t, len, int, advice)
 int posix_fadvise64(int fd, __off64_t offset, __off64_t len, int advice)
 {
 	int ret = syscall_posix_fadvise64(fd, offset, len, advice);

+ 1 - 1
libc/sysdeps/linux/common/ppoll.c

@@ -28,7 +28,7 @@ libc_hidden_proto(ppoll)
 static inline
 _syscall4(int, __libc_ppoll, struct pollfd *, fds,
 	nfds_t, nfds, const struct timespec *, timeout,
-	const __sigset_t *, sigmask);
+	const __sigset_t *, sigmask)
 
 int
 ppoll (struct pollfd *fds, nfds_t nfds, const struct timespec *timeout,

+ 1 - 1
libc/sysdeps/linux/common/prctl.c

@@ -13,5 +13,5 @@
 
 #ifdef __NR_prctl
 extern int prctl (int, long, long, long, long);
-_syscall5(int, prctl, int, option, long, arg2, long, arg3, long, arg4, long, arg5);
+_syscall5(int, prctl, int, option, long, arg2, long, arg3, long, arg4, long, arg5)
 #endif

+ 1 - 1
libc/sysdeps/linux/common/query_module.c

@@ -12,7 +12,7 @@ int query_module(const char *name attribute_unused, int which attribute_unused,
 				 void *buf attribute_unused, size_t bufsize attribute_unused, size_t * ret attribute_unused);
 #ifdef __NR_query_module
 _syscall5(int, query_module, const char *, name, int, which,
-		  void *, buf, size_t, bufsize, size_t *, ret);
+		  void *, buf, size_t, bufsize, size_t *, ret)
 #elif defined __UCLIBC_HAS_STUBS__
 int query_module(const char *name attribute_unused, int which attribute_unused,
 				 void *buf attribute_unused, size_t bufsize attribute_unused, size_t * ret attribute_unused)

+ 1 - 1
libc/sysdeps/linux/common/quotactl.c

@@ -12,5 +12,5 @@
 #if defined __USE_BSD
 #include <sys/quota.h>
 _syscall4(int, quotactl, int, cmd, const char *, special,
-		  int, id, caddr_t, addr);
+		  int, id, caddr_t, addr)
 #endif

+ 1 - 1
libc/sysdeps/linux/common/read.c

@@ -12,7 +12,7 @@
 
 extern __typeof(read) __libc_read;
 #define __NR___libc_read __NR_read
-_syscall3(ssize_t, __libc_read, int, fd, __ptr_t, buf, size_t, count);
+_syscall3(ssize_t, __libc_read, int, fd, __ptr_t, buf, size_t, count)
 libc_hidden_proto(read)
 weak_alias(__libc_read,read)
 libc_hidden_weak(read)

+ 1 - 1
libc/sysdeps/linux/common/readlink.c

@@ -11,5 +11,5 @@
 #include <unistd.h>
 
 libc_hidden_proto(readlink)
-_syscall3(ssize_t, readlink, const char *, path, char *, buf, size_t, bufsiz);
+_syscall3(ssize_t, readlink, const char *, path, char *, buf, size_t, bufsiz)
 libc_hidden_def(readlink)

+ 1 - 1
libc/sysdeps/linux/common/readv.c

@@ -14,5 +14,5 @@ extern __typeof(readv) __libc_readv;
 
 #define __NR___libc_readv __NR_readv
 _syscall3(ssize_t, __libc_readv, int, filedes, const struct iovec *, vector,
-		  int, count);
+		  int, count)
 weak_alias(__libc_readv,readv)

+ 1 - 1
libc/sysdeps/linux/common/remap_file_pages.c

@@ -11,6 +11,6 @@
 #ifdef __NR_remap_file_pages
 
 _syscall5(int, remap_file_pages, void *, __start, size_t, __size,
-			int, __prot, size_t, __pgoff, int, __flags);
+			int, __prot, size_t, __pgoff, int, __flags)
 
 #endif

+ 1 - 1
libc/sysdeps/linux/common/rmdir.c

@@ -12,5 +12,5 @@
 
 libc_hidden_proto(rmdir)
 
-_syscall1(int, rmdir, const char *, pathname);
+_syscall1(int, rmdir, const char *, pathname)
 libc_hidden_def(rmdir)

+ 1 - 1
libc/sysdeps/linux/common/sched_get_priority_max.c

@@ -9,4 +9,4 @@
 
 #include <sys/syscall.h>
 #include <sched.h>
-_syscall1(int, sched_get_priority_max, int, policy);
+_syscall1(int, sched_get_priority_max, int, policy)

+ 1 - 1
libc/sysdeps/linux/common/sched_get_priority_min.c

@@ -9,4 +9,4 @@
 
 #include <sys/syscall.h>
 #include <sched.h>
-_syscall1(int, sched_get_priority_min, int, policy);
+_syscall1(int, sched_get_priority_min, int, policy)

+ 1 - 1
libc/sysdeps/linux/common/sched_yield.c

@@ -9,4 +9,4 @@
 
 #include <sys/syscall.h>
 #include <sched.h>
-_syscall0(int, sched_yield);
+_syscall0(int, sched_yield)

+ 2 - 2
libc/sysdeps/linux/common/select.c

@@ -16,7 +16,7 @@ extern __typeof(select) __libc_select;
 # define __NR___libc_pselect6 __NR_pselect6
 _syscall6(int, __libc_pselect6, int, n, fd_set *, readfds, fd_set *, writefds,
 	fd_set *, exceptfds, const struct timespec *, timeout,
-	const sigset_t *, sigmask);
+	const sigset_t *, sigmask)
 
 int __libc_select(int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
                   struct timeval *timeout)
@@ -38,7 +38,7 @@ int __libc_select(int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
 # define __NR___libc_select __NR_select
 #endif
 _syscall5(int, __libc_select, int, n, fd_set *, readfds, fd_set *, writefds,
-		  fd_set *, exceptfds, struct timeval *, timeout);
+		  fd_set *, exceptfds, struct timeval *, timeout)
 
 #endif
 

+ 1 - 1
libc/sysdeps/linux/common/sendfile.c

@@ -20,7 +20,7 @@
 #ifdef __NR_sendfile
 
 _syscall4(ssize_t, sendfile, int, out_fd, int, in_fd, __off_t *, offset,
-		  size_t, count);
+		  size_t, count)
 
 #if ! defined __NR_sendfile64 && defined __UCLIBC_HAS_LFS__
 strong_alias(sendfile,sendfile64)

+ 1 - 1
libc/sysdeps/linux/common/sendfile64.c

@@ -20,5 +20,5 @@
 #include <bits/wordsize.h>
 
 #if defined __UCLIBC_HAS_LFS__ && defined __NR_sendfile64
-_syscall4(ssize_t,sendfile64, int, out_fd, int, in_fd, __off64_t *, offset, size_t, count);
+_syscall4(ssize_t,sendfile64, int, out_fd, int, in_fd, __off64_t *, offset, size_t, count)
 #endif

+ 1 - 1
libc/sysdeps/linux/common/setdomainname.c

@@ -10,5 +10,5 @@
 #include <sys/syscall.h>
 #include <unistd.h>
 #if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
-_syscall2(int, setdomainname, const char *, name, size_t, len);
+_syscall2(int, setdomainname, const char *, name, size_t, len)
 #endif

+ 1 - 1
libc/sysdeps/linux/common/setfsgid.c

@@ -17,7 +17,7 @@
 #  define __NR_setfsgid __NR_setfsgid32
 # endif
 
-_syscall1(int, setfsgid, gid_t, gid);
+_syscall1(int, setfsgid, gid_t, gid)
 
 #else
 

+ 1 - 1
libc/sysdeps/linux/common/setfsuid.c

@@ -17,7 +17,7 @@
 #  define __NR_setfsuid __NR_setfsuid32
 # endif
 
-_syscall1(int, setfsuid, uid_t, uid);
+_syscall1(int, setfsuid, uid_t, uid)
 
 #else
 

+ 1 - 1
libc/sysdeps/linux/common/setgid.c

@@ -17,7 +17,7 @@
 #  define __NR_setgid __NR_setgid32
 # endif
 
-_syscall1(int, setgid, gid_t, gid);
+_syscall1(int, setgid, gid_t, gid)
 
 #else
 

+ 2 - 2
libc/sysdeps/linux/common/setgroups.c

@@ -19,10 +19,10 @@ libc_hidden_proto(setgroups)
 #if defined(__NR_setgroups32)
 # undef __NR_setgroups
 # define __NR_setgroups __NR_setgroups32
-_syscall2(int, setgroups, size_t, size, const gid_t *, list);
+_syscall2(int, setgroups, size_t, size, const gid_t *, list)
 
 #elif __WORDSIZE == 64
-_syscall2(int, setgroups, size_t, size, const gid_t *, list);
+_syscall2(int, setgroups, size_t, size, const gid_t *, list)
 
 #else
 

+ 1 - 1
libc/sysdeps/linux/common/sethostname.c

@@ -10,5 +10,5 @@
 #include <sys/syscall.h>
 #include <unistd.h>
 #if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
-_syscall2(int, sethostname, const char *, name, size_t, len);
+_syscall2(int, sethostname, const char *, name, size_t, len)
 #endif

Some files were not shown because too many files changed in this diff