OSDN Git Service

- trim superfluous ';'. No objcode changes
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 28 Oct 2008 13:05:24 +0000 (13:05 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 28 Oct 2008 13:05:24 +0000 (13:05 -0000)
90 files changed:
libc/sysdeps/linux/alpha/sigprocmask.c
libc/sysdeps/linux/arm/mmap.c
libc/sysdeps/linux/avr32/mmap.c
libc/sysdeps/linux/bfin/dma-memcpy.c
libc/sysdeps/linux/bfin/sram-alloc.c
libc/sysdeps/linux/bfin/sram-free.c
libc/sysdeps/linux/common/__rt_sigtimedwait.c
libc/sysdeps/linux/common/__syscall_fcntl64.c
libc/sysdeps/linux/common/_exit.c
libc/sysdeps/linux/common/chdir.c
libc/sysdeps/linux/common/chmod.c
libc/sysdeps/linux/common/chown.c
libc/sysdeps/linux/common/chroot.c
libc/sysdeps/linux/common/create_module.c
libc/sysdeps/linux/common/fchmod.c
libc/sysdeps/linux/common/fchown.c
libc/sysdeps/linux/common/flock.c
libc/sysdeps/linux/common/fstat.c
libc/sysdeps/linux/common/fstat64.c
libc/sysdeps/linux/common/ftruncate64.c
libc/sysdeps/linux/common/getdents.c
libc/sysdeps/linux/common/getdents64.c
libc/sysdeps/linux/common/getegid.c
libc/sysdeps/linux/common/geteuid.c
libc/sysdeps/linux/common/getgroups.c
libc/sysdeps/linux/common/getpgid.c
libc/sysdeps/linux/common/getpriority.c
libc/sysdeps/linux/common/getresgid.c
libc/sysdeps/linux/common/getresuid.c
libc/sysdeps/linux/common/getsid.c
libc/sysdeps/linux/common/kill.c
libc/sysdeps/linux/common/klogctl.c
libc/sysdeps/linux/common/lchown.c
libc/sysdeps/linux/common/llseek.c
libc/sysdeps/linux/common/lstat.c
libc/sysdeps/linux/common/lstat64.c
libc/sysdeps/linux/common/mkdir.c
libc/sysdeps/linux/common/mknod.c
libc/sysdeps/linux/common/mmap.c
libc/sysdeps/linux/common/mmap64.c
libc/sysdeps/linux/common/nice.c
libc/sysdeps/linux/common/open.c
libc/sysdeps/linux/common/posix_fadvise64.c
libc/sysdeps/linux/common/pread_write.c
libc/sysdeps/linux/common/ptrace.c
libc/sysdeps/linux/common/readahead.c
libc/sysdeps/linux/common/reboot.c
libc/sysdeps/linux/common/rename.c
libc/sysdeps/linux/common/sched_getaffinity.c
libc/sysdeps/linux/common/sched_getparam.c
libc/sysdeps/linux/common/sched_getscheduler.c
libc/sysdeps/linux/common/sched_rr_get_interval.c
libc/sysdeps/linux/common/sched_setaffinity.c
libc/sysdeps/linux/common/sched_setparam.c
libc/sysdeps/linux/common/sched_setscheduler.c
libc/sysdeps/linux/common/setfsgid.c
libc/sysdeps/linux/common/setfsuid.c
libc/sysdeps/linux/common/setgid.c
libc/sysdeps/linux/common/setgroups.c
libc/sysdeps/linux/common/setpgid.c
libc/sysdeps/linux/common/setregid.c
libc/sysdeps/linux/common/setresgid.c
libc/sysdeps/linux/common/setresuid.c
libc/sysdeps/linux/common/setreuid.c
libc/sysdeps/linux/common/setuid.c
libc/sysdeps/linux/common/sigpending.c
libc/sysdeps/linux/common/sigqueue.c
libc/sysdeps/linux/common/sigsuspend.c
libc/sysdeps/linux/common/stat.c
libc/sysdeps/linux/common/stat64.c
libc/sysdeps/linux/common/sync.c
libc/sysdeps/linux/common/sync_file_range.c
libc/sysdeps/linux/common/truncate64.c
libc/sysdeps/linux/common/umask.c
libc/sysdeps/linux/common/umount.c
libc/sysdeps/linux/common/ustat.c
libc/sysdeps/linux/common/wait4.c
libc/sysdeps/linux/e1/vfork.c
libc/sysdeps/linux/frv/__init_brk.c
libc/sysdeps/linux/frv/mmap.c
libc/sysdeps/linux/microblaze/mmap.c
libc/sysdeps/linux/mips/mmap.c
libc/sysdeps/linux/mips/pread_write.c
libc/sysdeps/linux/powerpc/pread_write.c
libc/sysdeps/linux/sh/__init_brk.c
libc/sysdeps/linux/sh/pread_write.c
libc/sysdeps/linux/sh64/__init_brk.c
libc/sysdeps/linux/v850/mmap.c
libc/sysdeps/linux/vax/mmap.c
libc/sysdeps/linux/xtensa/pread_write.c

index e9ebe09..32f0275 100644 (file)
@@ -25,7 +25,7 @@
 /* When there is kernel support for more than 64 signals, we'll have to
    switch to a new system call convention here.  */
 
-static __inline__ _syscall2(int, osf_sigprocmask, int, how, unsigned long int, setval);
+static __inline__ _syscall2(int, osf_sigprocmask, int, how, unsigned long int, setval)
 
 libc_hidden_proto(sigprocmask)
 int
index 47a29f4..0a74638 100644 (file)
@@ -17,7 +17,7 @@ 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,
-                         int, prot, int, flags, int, fd, __off_t, offset);
+                         int, prot, int, flags, int, fd, __off_t, offset)
 __ptr_t mmap(__ptr_t addr, size_t len, int prot,
              int flags, int fd, __off_t offset)
 {
@@ -53,7 +53,7 @@ __ptr_t mmap(__ptr_t addr, size_t len, int prot,
 }
 #elif defined (__NR_mmap)
 # define __NR__mmap __NR_mmap
-static __inline__ _syscall1(__ptr_t, _mmap, unsigned long *, buffer);
+static __inline__ _syscall1(__ptr_t, _mmap, unsigned long *, buffer)
 __ptr_t mmap(__ptr_t addr, size_t len, int prot,
              int flags, int fd, __off_t offset)
 {
index 2ee025a..92d3fe4 100644 (file)
@@ -14,7 +14,7 @@
 libc_hidden_proto(mmap)
 
 static _syscall6(__ptr_t, mmap2, __ptr_t, addr, size_t, len, int, prot,
-                int, flags, int, fd, __off_t, pgoff);
+                int, flags, int, fd, __off_t, pgoff)
 
 __ptr_t mmap(__ptr_t addr, size_t len, int prot, int flags, int fd, __off_t offset)
 {
index 6d7a5b8..274b99e 100644 (file)
@@ -2,5 +2,5 @@
 #include <errno.h>
 #include <sys/syscall.h>
 
-_syscall3 (__ptr_t, dma_memcpy, __ptr_t, dest, __ptr_t, src, size_t, len);
+_syscall3 (__ptr_t, dma_memcpy, __ptr_t, dest, __ptr_t, src, size_t, len)
 
index f0e8bce..6b33b26 100644 (file)
@@ -2,5 +2,5 @@
 #include <errno.h>
 #include <sys/syscall.h>
 
-_syscall2 (__ptr_t, sram_alloc, size_t, len, unsigned long, flags);
+_syscall2 (__ptr_t, sram_alloc, size_t, len, unsigned long, flags)
 
index 02bf5d5..0fba936 100644 (file)
@@ -2,5 +2,5 @@
 #include <errno.h>
 #include <sys/syscall.h>
 
-_syscall1 (__ptr_t, sram_free, __ptr_t, addr);
+_syscall1 (__ptr_t, sram_free, __ptr_t, addr)
 
index 839532b..c018043 100644 (file)
@@ -18,7 +18,7 @@ libc_hidden_proto(sigtimedwait)
 #ifdef __NR_rt_sigtimedwait
 #define __NR___rt_sigtimedwait __NR_rt_sigtimedwait
 static _syscall4(int, __rt_sigtimedwait, const sigset_t *, set, siginfo_t *, info,
-                 const struct timespec *, timeout, size_t, setsize);
+                 const struct timespec *, timeout, size_t, setsize)
 
 int sigwaitinfo(const sigset_t * set, siginfo_t * info)
 {
index 84c2ea2..579e0e2 100644 (file)
@@ -16,7 +16,7 @@ extern __typeof(fcntl64) __libc_fcntl64;
 libc_hidden_proto(__libc_fcntl64)
 
 #define __NR___syscall_fcntl64 __NR_fcntl64
-static __inline__ _syscall3(int, __syscall_fcntl64, int, fd, int, cmd, long, arg);
+static __inline__ _syscall3(int, __syscall_fcntl64, int, fd, int, cmd, long, arg)
 int __libc_fcntl64(int fd, int cmd, ...)
 {
        long arg;
index 945a254..4a654a6 100644 (file)
@@ -18,7 +18,7 @@ libc_hidden_proto(_exit)
 #ifndef INLINE_SYSCALL
 #define INLINE_SYSCALL(name, nr, args...) __syscall_exit (args)
 #define __NR___syscall_exit __NR_exit
-static __inline__ _syscall1(void, __syscall_exit, int, status);
+static __inline__ _syscall1(void, __syscall_exit, int, status)
 #endif
 
 void attribute_noreturn _exit(int status)
index 95a825e..ee889ba 100644 (file)
@@ -15,7 +15,7 @@
 libc_hidden_proto(chdir)
 
 #define __NR___syscall_chdir __NR_chdir
-static __inline__ _syscall1(int, __syscall_chdir, const char *, path);
+static __inline__ _syscall1(int, __syscall_chdir, const char *, path)
 int chdir(const char *path)
 {
        return __syscall_chdir(path);
index 34a30a4..da0dff6 100644 (file)
@@ -13,7 +13,7 @@
 libc_hidden_proto(chmod)
 
 #define __NR___syscall_chmod __NR_chmod
-static __inline__ _syscall2(int, __syscall_chmod, const char *, path, __kernel_mode_t, mode);
+static __inline__ _syscall2(int, __syscall_chmod, const char *, path, __kernel_mode_t, mode)
 
 int chmod(const char *path, mode_t mode)
 {
index 5f2ad86..f325071 100644 (file)
@@ -25,7 +25,7 @@ _syscall3(int, chown, const char *, path, uid_t, owner, gid_t, group)
 
 # define __NR___syscall_chown __NR_chown
 static __inline__ _syscall3(int, __syscall_chown, const char *, path,
-               __kernel_uid_t, owner, __kernel_gid_t, group);
+               __kernel_uid_t, owner, __kernel_gid_t, group)
 
 int chown(const char *path, uid_t owner, gid_t group)
 {
index 12d09bb..4c085f2 100644 (file)
@@ -14,7 +14,7 @@
 
 #if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_XOPEN2K)
 #define __NR___syscall_chroot __NR_chroot
-static __inline__ _syscall1(int, __syscall_chroot, const char *, path);
+static __inline__ _syscall1(int, __syscall_chroot, const char *, path)
 
 int chroot(const char *path)
 {
index e8468bd..d8f2446 100644 (file)
@@ -19,7 +19,7 @@ unsigned long create_module(const char *name, size_t size);
 
 #if defined(__UCLIBC_BROKEN_CREATE_MODULE__)
 # define __NR___create_module  __NR_create_module
-static __inline__ _syscall2(long, __create_module, const char *, name, size_t, size);
+static __inline__ _syscall2(long, __create_module, const char *, name, size_t, size)
 /* By checking the value of errno, we know if we have been fooled
  * by the syscall2 macro making a very high address look like a
  * negative, so we we fix it up here.  */
@@ -39,7 +39,7 @@ unsigned long create_module(const char *name, size_t size)
 /* Alpha doesn't have the same problem, exactly, but a bug in older
    kernels fails to clear the error flag.  Clear it here explicitly.  */
 static __inline__ _syscall4(unsigned long, __create_module, const char *, name,
-                       size_t, size, size_t, dummy, size_t, err);
+                       size_t, size, size_t, dummy, size_t, err)
 unsigned long create_module(const char *name, size_t size)
 {
        return __create_module(name, size, 0, 0);
index cb00581..791f530 100644 (file)
@@ -12,7 +12,7 @@
 
 #define __NR___syscall_fchmod __NR_fchmod
 static __inline__ _syscall2(int, __syscall_fchmod,
-               int, fildes, __kernel_mode_t, mode);
+               int, fildes, __kernel_mode_t, mode)
 
 int fchmod(int fildes, mode_t mode)
 {
index b03a805..61618dc 100644 (file)
@@ -23,7 +23,7 @@ _syscall3(int, fchown, int, fd, uid_t, owner, gid_t, group)
 
 # define __NR___syscall_fchown __NR_fchown
 static __inline__ _syscall3(int, __syscall_fchown, int, fd,
-               __kernel_uid_t, owner, __kernel_gid_t, group);
+               __kernel_uid_t, owner, __kernel_gid_t, group)
 
 int fchown(int fd, uid_t owner, gid_t group)
 {
index 9b275d0..3dcd1ae 100644 (file)
@@ -11,7 +11,7 @@
 #include <sys/file.h>
 
 #define __NR___syscall_flock __NR_flock
-static __inline__ _syscall2(int, __syscall_flock, int, fd, int, operation);
+static __inline__ _syscall2(int, __syscall_flock, int, fd, int, operation)
 
 int flock(int fd, int operation)
 {
index fee750a..8d1cfdc 100644 (file)
@@ -21,7 +21,7 @@
 libc_hidden_proto(fstat)
 
 #define __NR___syscall_fstat __NR_fstat
-static __inline__ _syscall2(int, __syscall_fstat, int, fd, struct kernel_stat *, buf);
+static __inline__ _syscall2(int, __syscall_fstat, int, fd, struct kernel_stat *, buf)
 
 int fstat(int fd, struct stat *buf)
 {
index 67c519a..5dfb23d 100644 (file)
@@ -18,7 +18,7 @@ libc_hidden_proto(fstat64)
 
 #define __NR___syscall_fstat64 __NR_fstat64
 static __inline__ _syscall2(int, __syscall_fstat64,
-               int, filedes, struct kernel_stat64 *, buf);
+               int, filedes, struct kernel_stat64 *, buf)
 
 int fstat64(int fd, struct stat64 *buf)
 {
index eb6e033..4876087 100644 (file)
@@ -37,10 +37,10 @@ _syscall2(int, ftruncate64, int, fd, __off64_t, length)
 #    define __NR___syscall_ftruncate64 __NR_ftruncate64
 #    if defined(__UCLIBC_TRUNCATE64_HAS_4_ARGS__)
 static __inline__ _syscall4(int, __syscall_ftruncate64, int, fd, uint32_t, pad,
-       unsigned long, high_length, unsigned long, low_length);
+       unsigned long, high_length, unsigned long, low_length)
 #    else
 static __inline__ _syscall3(int, __syscall_ftruncate64, int, fd,
-       unsigned long, high_length, unsigned long, low_length);
+       unsigned long, high_length, unsigned long, low_length)
 #    endif
 #   endif
 
index cff87e5..17f1ddc 100644 (file)
@@ -39,7 +39,7 @@ struct kernel_dirent
 ssize_t __getdents (int fd, char *buf, size_t nbytes) attribute_hidden;
 
 #define __NR___syscall_getdents __NR_getdents
-static __always_inline _syscall3(int, __syscall_getdents, int, fd, unsigned char *, kdirp, size_t, count);
+static __always_inline _syscall3(int, __syscall_getdents, int, fd, unsigned char *, kdirp, size_t, count)
 
 #ifdef __ASSUME_GETDENTS32_D_TYPE
 ssize_t __getdents (int fd, char *buf, size_t nbytes)
index e695b96..d789d0f 100644 (file)
@@ -38,7 +38,7 @@ struct kernel_dirent64
 
 
 # define __NR___syscall_getdents64 __NR_getdents64
-static __inline__ _syscall3(int, __syscall_getdents64, int, fd, unsigned char *, dirp, size_t, count);
+static __inline__ _syscall3(int, __syscall_getdents64, int, fd, unsigned char *, dirp, size_t, count)
 
 ssize_t __getdents64 (int fd, char *buf, size_t nbytes) attribute_hidden;
 ssize_t __getdents64 (int fd, char *buf, size_t nbytes)
index d8d74c9..ad80e3a 100644 (file)
@@ -19,7 +19,7 @@ _syscall0(gid_t, getegid)
 
 #elif defined(__NR_getegid)
 # define __NR___syscall_getegid __NR_getegid
-static __inline__ _syscall0(int, __syscall_getegid);
+static __inline__ _syscall0(int, __syscall_getegid)
 gid_t getegid(void)
 {
        return (__syscall_getegid());
index b960bb0..63ee1da 100644 (file)
@@ -19,7 +19,7 @@ _syscall0(uid_t, geteuid)
 
 #elif defined(__NR_geteuid)
 # define __NR___syscall_geteuid __NR_geteuid
-static __inline__ _syscall0(int, __syscall_geteuid);
+static __inline__ _syscall0(int, __syscall_geteuid)
 uid_t geteuid(void)
 {
        return (__syscall_geteuid());
index 37e4a8f..ed02de1 100644 (file)
@@ -29,7 +29,7 @@ libc_hidden_proto(sysconf)
 
 #define __NR___syscall_getgroups __NR_getgroups
 static __inline__ _syscall2(int, __syscall_getgroups,
-               int, size, __kernel_gid_t *, list);
+               int, size, __kernel_gid_t *, list)
 
 int getgroups(int size, gid_t groups[])
 {
index 25ff129..cf1c0fc 100644 (file)
@@ -13,7 +13,7 @@
 #include <unistd.h>
 
 #define __NR___syscall_getpgid __NR_getpgid
-static __inline__ _syscall1(__kernel_pid_t, __syscall_getpgid, __kernel_pid_t, pid);
+static __inline__ _syscall1(__kernel_pid_t, __syscall_getpgid, __kernel_pid_t, pid)
 
 pid_t getpgid(pid_t pid)
 {
index bdfc723..089d9b1 100644 (file)
@@ -14,7 +14,7 @@ libc_hidden_proto(getpriority)
 
 #define __NR___syscall_getpriority __NR_getpriority
 static __inline__ _syscall2(int, __syscall_getpriority,
-               __priority_which_t, which, id_t, who);
+               __priority_which_t, which, id_t, who)
 
 /* The return value of __syscall_getpriority is biased by this value
  * to avoid returning negative values.  */
index 922874a..425263e 100644 (file)
@@ -19,7 +19,7 @@ _syscall3(int, getresgid, gid_t *, rgid, gid_t *, egid, gid_t *, sgid)
 #elif defined(__NR_getresgid)
 # define __NR___syscall_getresgid __NR_getresgid
 static __inline__ _syscall3(int, __syscall_getresgid, __kernel_gid_t *, rgid,
-                 __kernel_gid_t *, egid, __kernel_gid_t *, sgid);
+                 __kernel_gid_t *, egid, __kernel_gid_t *, sgid)
 
 int getresgid(gid_t * rgid, gid_t * egid, gid_t * sgid)
 {
index 5a070cc..87cf6d6 100644 (file)
@@ -19,7 +19,7 @@ _syscall3(int, getresuid, uid_t *, ruid, uid_t *, euid, uid_t *, suid)
 #elif defined(__NR_getresuid)
 # define __NR___syscall_getresuid __NR_getresuid
 static __inline__ _syscall3(int, __syscall_getresuid, __kernel_uid_t *, ruid,
-                 __kernel_uid_t *, euid, __kernel_uid_t *, suid);
+                 __kernel_uid_t *, euid, __kernel_uid_t *, suid)
 
 int getresuid(uid_t * ruid, uid_t * euid, uid_t * suid)
 {
index 9743a97..9c011f6 100644 (file)
@@ -14,7 +14,7 @@
 libc_hidden_proto(getsid)
 
 #define __NR___syscall_getsid __NR_getsid
-static __inline__ _syscall1(__kernel_pid_t, __syscall_getsid, __kernel_pid_t, pid);
+static __inline__ _syscall1(__kernel_pid_t, __syscall_getsid, __kernel_pid_t, pid)
 
 pid_t getsid(pid_t pid)
 {
index c772911..1ee1cff 100644 (file)
@@ -13,7 +13,7 @@
 libc_hidden_proto(kill)
 
 #define __NR___syscall_kill __NR_kill
-static __inline__ _syscall2(int, __syscall_kill, __kernel_pid_t, pid, int, sig);
+static __inline__ _syscall2(int, __syscall_kill, __kernel_pid_t, pid, int, sig)
 
 int kill(pid_t pid, int sig)
 {
index e378e3e..58467df 100644 (file)
@@ -11,7 +11,7 @@
 #include <unistd.h>
 #include <sys/klog.h>
 #define __NR__syslog           __NR_syslog
-static __inline__ _syscall3(int, _syslog, int, type, char *, buf, int, len);
+static __inline__ _syscall3(int, _syslog, int, type, char *, buf, int, len)
 int klogctl(int type, char *buf, int len)
 {
        return (_syslog(type, buf, len));
index 3298f60..c0f8ce7 100644 (file)
@@ -23,7 +23,7 @@ _syscall3(int, lchown, const char *, path, uid_t, owner, gid_t, group)
 
 # define __NR___syscall_lchown __NR_lchown
 static __inline__ _syscall3(int, __syscall_lchown, const char *, path,
-               __kernel_uid_t, owner, __kernel_gid_t, group);
+               __kernel_uid_t, owner, __kernel_gid_t, group)
 
 int lchown(const char *path, uid_t owner, gid_t group)
 {
index e933923..4761b33 100644 (file)
@@ -19,7 +19,7 @@ extern __typeof(lseek64) __libc_lseek64;
 #  define INLINE_SYSCALL(name, nr, args...) __syscall_llseek (args)
 #  define __NR___syscall_llseek __NR__llseek
 static __inline__ _syscall5(int, __syscall_llseek, int, fd, off_t, offset_hi,
-               off_t, offset_lo, loff_t *, result, int, whence);
+               off_t, offset_lo, loff_t *, result, int, whence)
 # endif
 
 loff_t __libc_lseek64(int fd, loff_t offset, int whence)
index 4707dfc..4c67c19 100644 (file)
@@ -22,7 +22,7 @@ libc_hidden_proto(lstat)
 
 #define __NR___syscall_lstat __NR_lstat
 static __inline__ _syscall2(int, __syscall_lstat,
-               const char *, file_name, struct kernel_stat *, buf);
+               const char *, file_name, struct kernel_stat *, buf)
 
 int lstat(const char *file_name, struct stat *buf)
 {
index 6777dff..97e9528 100644 (file)
@@ -18,7 +18,7 @@ libc_hidden_proto(lstat64)
 
 # define __NR___syscall_lstat64 __NR_lstat64
 static __inline__ _syscall2(int, __syscall_lstat64, const char *, file_name,
-                 struct kernel_stat64 *, buf);
+                 struct kernel_stat64 *, buf)
 
 int lstat64(const char *file_name, struct stat64 *buf)
 {
index ab3cbfe..8591c49 100644 (file)
@@ -14,7 +14,7 @@ libc_hidden_proto(mkdir)
 
 #define __NR___syscall_mkdir __NR_mkdir
 static __inline__ _syscall2(int, __syscall_mkdir, const char *, pathname,
-               __kernel_mode_t, mode);
+               __kernel_mode_t, mode)
 
 int mkdir(const char *pathname, mode_t mode)
 {
index 75aff70..b0f07b1 100644 (file)
@@ -15,7 +15,7 @@ libc_hidden_proto(mknod)
 
 #define __NR___syscall_mknod __NR_mknod
 static __inline__ _syscall3(int, __syscall_mknod, const char *, path,
-               __kernel_mode_t, mode, __kernel_dev_t, dev);
+               __kernel_mode_t, mode, __kernel_dev_t, dev)
 
 int mknod(const char *path, mode_t mode, dev_t dev)
 {
index 5598a20..af9685a 100644 (file)
@@ -24,7 +24,7 @@ _syscall6(void *, mmap, void *, start, size_t, length,
 #else
 
 # define __NR__mmap __NR_mmap
-static __inline__ _syscall1(__ptr_t, _mmap, unsigned long *, buffer);
+static __inline__ _syscall1(__ptr_t, _mmap, unsigned long *, buffer)
 __ptr_t mmap(__ptr_t addr, size_t len, int prot,
                         int flags, int fd, __off_t offset)
 {
@@ -49,7 +49,7 @@ libc_hidden_proto(mmap)
 
 #define __NR___syscall_mmap2 __NR_mmap2
 static __inline__ _syscall6(__ptr_t, __syscall_mmap2, __ptr_t, addr,
-       size_t, len, int, prot, int, flags, int, fd, off_t, offset);
+       size_t, len, int, prot, int, flags, int, fd, off_t, offset)
 
 /* Some architectures always use 12 as page shift for mmap2() eventhough the
  * real PAGE_SHIFT != 12.  Other architectures use the same value as
index a1aa19f..3abfd56 100644 (file)
@@ -41,8 +41,9 @@ __ptr_t mmap64(__ptr_t addr, size_t len, int prot, int flags, int fd, __off64_t
 # else
 
 #  define __NR___syscall_mmap2     __NR_mmap2
-static __inline__ _syscall6(__ptr_t, __syscall_mmap2, __ptr_t, addr, size_t, len,
-                        int, prot, int, flags, int, fd, off_t, offset);
+static __inline__ _syscall6(__ptr_t, __syscall_mmap2, __ptr_t, addr,
+                       size_t, len, int, prot, int, flags, int, fd,
+                       off_t, offset)
 
 /* Some architectures always use 12 as page shift for mmap2() eventhough the
  * real PAGE_SHIFT != 12.  Other architectures use the same value as
index 8ced609..86765a9 100644 (file)
@@ -17,7 +17,7 @@ libc_hidden_proto(getpriority)
 #ifdef __NR_nice
 
 # define __NR___syscall_nice __NR_nice
-static __inline__ _syscall1(int, __syscall_nice, int, incr);
+static __inline__ _syscall1(int, __syscall_nice, int, incr)
 
 #else
 
index 7c0566b..f9b10d8 100644 (file)
@@ -19,7 +19,7 @@ extern __typeof(creat) __libc_creat;
 
 #define __NR___syscall_open __NR_open
 static __inline__ _syscall3(int, __syscall_open, const char *, file,
-               int, flags, __kernel_mode_t, mode);
+               int, flags, __kernel_mode_t, mode)
 
 libc_hidden_proto(__libc_open)
 int __libc_open(const char *file, int oflag, ...)
index 135f7cc..6b1325d 100644 (file)
@@ -73,7 +73,7 @@ int posix_fadvise64(int fd, __off64_t offset, __off64_t len, int advice)
 static __inline__ _syscall6(int, __syscall_fadvise64_64, int, fd,
           unsigned long, high_offset, unsigned long, low_offset,
           unsigned long, high_len, unsigned long, low_len,
-          int, advice);
+          int, advice)
 int posix_fadvise64(int fd, __off64_t offset, __off64_t len, int advice)
 {
        int ret = __syscall_fadvise64_64(fd,
index b2aaa2a..eb96c3e 100644 (file)
@@ -31,7 +31,7 @@ extern __typeof(pwrite64) __libc_pwrite64;
 
 # define __NR___syscall_pread __NR_pread
 static __inline__ _syscall5(ssize_t, __syscall_pread, int, fd, void *, buf,
-               size_t, count, off_t, offset_hi, off_t, offset_lo);
+               size_t, count, off_t, offset_hi, off_t, offset_lo)
 
 ssize_t __libc_pread(int fd, void *buf, size_t count, off_t offset)
 {
@@ -55,7 +55,7 @@ weak_alias(__libc_pread64,pread64)
 
 # define __NR___syscall_pwrite __NR_pwrite
 static __inline__ _syscall5(ssize_t, __syscall_pwrite, int, fd, const void *, buf,
-               size_t, count, off_t, offset_hi, off_t, offset_lo);
+               size_t, count, off_t, offset_hi, off_t, offset_lo)
 
 ssize_t __libc_pwrite(int fd, const void *buf, size_t count, off_t offset)
 {
index 4f11260..8b8ebf0 100644 (file)
@@ -13,7 +13,7 @@
 #define __NR___syscall_ptrace __NR_ptrace
 
 static __inline__ _syscall4(long, __syscall_ptrace, enum __ptrace_request, request,
-               __kernel_pid_t, pid, void*, addr, void*, data);
+               __kernel_pid_t, pid, void*, addr, void*, data)
 
 long int
 ptrace (enum __ptrace_request request, ...)
index 94e2481..cd40352 100644 (file)
@@ -34,7 +34,7 @@
 # if __WORDSIZE == 64
 
 static __inline__ _syscall3(ssize_t, __readahead, int, fd,
-       off_t, offset, size_t, count);
+       off_t, offset, size_t, count)
 
 ssize_t readahead(int fd, off_t offset, size_t count)
 {
@@ -44,7 +44,7 @@ ssize_t readahead(int fd, off_t offset, size_t count)
 # else
 
 static __inline__ _syscall4(ssize_t, __readahead, int, fd,
-       off_t, high_offset, off_t, low_offset, size_t, count);
+       off_t, high_offset, off_t, low_offset, size_t, count)
 
 ssize_t readahead(int fd, off64_t offset, size_t count)
 {
index 9ce57b1..ec271b1 100644 (file)
@@ -10,7 +10,7 @@
 #include <sys/syscall.h>
 #include <sys/reboot.h>
 #define __NR__reboot __NR_reboot
-static __inline__ _syscall3(int, _reboot, int, magic, int, magic2, int, flag);
+static __inline__ _syscall3(int, _reboot, int, magic, int, magic2, int, flag)
 int reboot(int flag)
 {
        return (_reboot((int) 0xfee1dead, 672274793, flag));
index fd7318f..9d8397a 100644 (file)
@@ -15,7 +15,7 @@
 
 #define __NR___syscall_rename __NR_rename
 static __inline__ _syscall2(int, __syscall_rename, const char *, oldpath,
-               const char *, newpath);
+               const char *, newpath)
 
 int rename(const char * oldpath, const char * newpath)
 {
index b3256c2..5d5e5b2 100644 (file)
@@ -29,7 +29,7 @@
 #if defined __NR_sched_getaffinity
 #define __NR___syscall_sched_getaffinity __NR_sched_getaffinity
 static __inline__ _syscall3(int, __syscall_sched_getaffinity, __kernel_pid_t, pid,
-                       size_t, cpusetsize, cpu_set_t *, cpuset);
+                       size_t, cpusetsize, cpu_set_t *, cpuset)
 
 int sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *cpuset)
 {
index af5ba60..eb17e25 100644 (file)
@@ -13,7 +13,7 @@
 
 #define __NR___syscall_sched_getparam __NR_sched_getparam
 static __inline__ _syscall2(int, __syscall_sched_getparam,
-               __kernel_pid_t, pid, struct sched_param *, p);
+               __kernel_pid_t, pid, struct sched_param *, p)
 
 int sched_getparam(pid_t pid, struct sched_param *p)
 {
index 9564da7..e657abd 100644 (file)
@@ -12,7 +12,7 @@
 #include <sys/syscall.h>
 
 #define __NR___syscall_sched_getscheduler __NR_sched_getscheduler
-static __inline__ _syscall1(int, __syscall_sched_getscheduler, __kernel_pid_t, pid);
+static __inline__ _syscall1(int, __syscall_sched_getscheduler, __kernel_pid_t, pid)
 
 int sched_getscheduler(pid_t pid)
 {
index c59812d..31d620f 100644 (file)
@@ -13,7 +13,7 @@
 
 #define __NR___syscall_sched_rr_get_interval __NR_sched_rr_get_interval
 static __inline__ _syscall2(int, __syscall_sched_rr_get_interval,
-               __kernel_pid_t, pid, struct timespec *, tp);
+               __kernel_pid_t, pid, struct timespec *, tp)
 
 int sched_rr_get_interval(pid_t pid, struct timespec *tp)
 {
index 756770c..815fe80 100644 (file)
@@ -35,7 +35,7 @@ libc_hidden_proto(getpid)
 
 #define __NR___syscall_sched_setaffinity __NR_sched_setaffinity
 static __inline__ _syscall3(int, __syscall_sched_setaffinity, __kernel_pid_t, pid,
-                       size_t, cpusetsize, cpu_set_t *, cpuset);
+                       size_t, cpusetsize, cpu_set_t *, cpuset)
 
 static size_t __kernel_cpumask_size;
 
index 1e1f8cf..0f5f74f 100644 (file)
@@ -13,7 +13,7 @@
 
 #define __NR___syscall_sched_setparam __NR_sched_setparam
 static __inline__ _syscall2(int, __syscall_sched_setparam,
-               __kernel_pid_t, pid, const struct sched_param *, p);
+               __kernel_pid_t, pid, const struct sched_param *, p)
 
 int sched_setparam(pid_t pid, const struct sched_param *p)
 {
index fe26308..0af498f 100644 (file)
@@ -13,7 +13,7 @@
 
 #define __NR___syscall_sched_setscheduler __NR_sched_setscheduler
 static __inline__ _syscall3(int, __syscall_sched_setscheduler,
-               __kernel_pid_t, pid, int, policy, const struct sched_param *, p);
+               __kernel_pid_t, pid, int, policy, const struct sched_param *, p)
 
 int sched_setscheduler(pid_t pid, int policy, const struct sched_param *p)
 {
index d2e1efe..78d35dd 100644 (file)
@@ -22,7 +22,7 @@ _syscall1(int, setfsgid, gid_t, gid)
 #else
 
 # define __NR___syscall_setfsgid __NR_setfsgid
-static __inline__ _syscall1(int, __syscall_setfsgid, __kernel_gid_t, gid);
+static __inline__ _syscall1(int, __syscall_setfsgid, __kernel_gid_t, gid)
 
 int setfsgid(gid_t gid)
 {
index 8713833..a7372bd 100644 (file)
@@ -22,7 +22,7 @@ _syscall1(int, setfsuid, uid_t, uid)
 #else
 
 # define __NR___syscall_setfsuid __NR_setfsuid
-static __inline__ _syscall1(int, __syscall_setfsuid, __kernel_uid_t, uid);
+static __inline__ _syscall1(int, __syscall_setfsuid, __kernel_uid_t, uid)
 
 int setfsuid(uid_t uid)
 {
index 4e1d711..88341ba 100644 (file)
@@ -22,7 +22,7 @@ _syscall1(int, setgid, gid_t, gid)
 #else
 
 # define __NR___syscall_setgid __NR_setgid
-static __inline__ _syscall1(int, __syscall_setgid, __kernel_gid_t, gid);
+static __inline__ _syscall1(int, __syscall_setgid, __kernel_gid_t, gid)
 
 int setgid(gid_t gid)
 {
index ae6fcb6..298252d 100644 (file)
@@ -30,7 +30,7 @@ libc_hidden_proto(sysconf)
 
 #define __NR___syscall_setgroups __NR_setgroups
 static __inline__ _syscall2(int, __syscall_setgroups,
-               size_t, size, const __kernel_gid_t *, list);
+               size_t, size, const __kernel_gid_t *, list)
 
 int setgroups(size_t size, const gid_t *groups)
 {
index f91908d..1ec5e62 100644 (file)
@@ -16,7 +16,7 @@ libc_hidden_proto(setpgid)
 
 #define __NR___syscall_setpgid __NR_setpgid
 static __inline__ _syscall2(int, __syscall_setpgid,
-               __kernel_pid_t, pid, __kernel_pid_t, pgid);
+               __kernel_pid_t, pid, __kernel_pid_t, pgid)
 
 int setpgid(pid_t pid, pid_t pgid)
 {
index e6d6275..b92b844 100644 (file)
@@ -25,7 +25,7 @@ _syscall2(int, setregid, gid_t, rgid, gid_t, egid)
 
 # define __NR___syscall_setregid __NR_setregid
 static __inline__ _syscall2(int, __syscall_setregid,
-               __kernel_gid_t, rgid, __kernel_gid_t, egid);
+               __kernel_gid_t, rgid, __kernel_gid_t, egid)
 
 int setregid(gid_t rgid, gid_t egid)
 {
index 13e4b1d..6018f19 100644 (file)
@@ -23,7 +23,7 @@ libc_hidden_def(setresgid)
 
 # define __NR___syscall_setresgid __NR_setresgid
 static __inline__ _syscall3(int, __syscall_setresgid,
-               __kernel_gid_t, rgid, __kernel_gid_t, egid, __kernel_gid_t, sgid);
+               __kernel_gid_t, rgid, __kernel_gid_t, egid, __kernel_gid_t, sgid)
 
 libc_hidden_proto(setresgid)
 int setresgid(gid_t rgid, gid_t egid, gid_t sgid)
index 764b905..ab15be1 100644 (file)
@@ -23,7 +23,7 @@ libc_hidden_def(setresuid)
 
 # define __NR___syscall_setresuid __NR_setresuid
 static __inline__ _syscall3(int, __syscall_setresuid,
-               __kernel_uid_t, rgid, __kernel_uid_t, egid, __kernel_uid_t, sgid);
+               __kernel_uid_t, rgid, __kernel_uid_t, egid, __kernel_uid_t, sgid)
 
 libc_hidden_proto(setresuid)
 int setresuid(uid_t ruid, uid_t euid, uid_t suid)
index 34d5ff1..bf55843 100644 (file)
@@ -25,7 +25,7 @@ _syscall2(int, setreuid, uid_t, ruid, uid_t, euid)
 
 # define __NR___syscall_setreuid __NR_setreuid
 static __inline__ _syscall2(int, __syscall_setreuid,
-               __kernel_uid_t, ruid, __kernel_uid_t, euid);
+               __kernel_uid_t, ruid, __kernel_uid_t, euid)
 
 int setreuid(uid_t ruid, uid_t euid)
 {
index 675fe8d..7fd8c65 100644 (file)
@@ -22,7 +22,7 @@ _syscall1(int, setuid, uid_t, uid)
 #else
 
 # define __NR___syscall_setuid __NR_setuid
-static __inline__ _syscall1(int, __syscall_setuid, __kernel_uid_t, uid);
+static __inline__ _syscall1(int, __syscall_setuid, __kernel_uid_t, uid)
 
 int setuid(uid_t uid)
 {
index 83e74c1..8fa2a51 100644 (file)
@@ -15,7 +15,7 @@
 
 #ifdef __NR_rt_sigpending
 # define __NR___rt_sigpending __NR_rt_sigpending
-static __inline__ _syscall2(int, __rt_sigpending, sigset_t *, set, size_t, size);
+static __inline__ _syscall2(int, __rt_sigpending, sigset_t *, set, size_t, size)
 
 int sigpending(sigset_t * set)
 {
index 2bff597..f941d63 100644 (file)
@@ -31,7 +31,7 @@ libc_hidden_proto(getuid)
 #ifdef __NR_rt_sigqueueinfo
 
 # define __NR___libc_rt_sigqueueinfo __NR_rt_sigqueueinfo
-static __inline__ _syscall3(int, __libc_rt_sigqueueinfo, pid_t, pid, int, sig, void*, value);
+static __inline__ _syscall3(int, __libc_rt_sigqueueinfo, pid_t, pid, int, sig, void*, value)
 
 /* Return any pending signal or wait for one for the given time.  */
 int sigqueue (pid_t pid, int sig, const union sigval val)
index 8495e35..6161acb 100644 (file)
@@ -16,7 +16,7 @@ extern __typeof(sigsuspend) __libc_sigsuspend;
 
 #ifdef __NR_rt_sigsuspend
 # define __NR___rt_sigsuspend __NR_rt_sigsuspend
-static __inline__ _syscall2(int, __rt_sigsuspend, const sigset_t *, mask, size_t, size);
+static __inline__ _syscall2(int, __rt_sigsuspend, const sigset_t *, mask, size_t, size)
 
 int __libc_sigsuspend(const sigset_t * mask)
 {
@@ -25,7 +25,7 @@ int __libc_sigsuspend(const sigset_t * mask)
 #else
 # define __NR___syscall_sigsuspend __NR_sigsuspend
 static __inline__ _syscall3(int, __syscall_sigsuspend, int, a, unsigned long int, b,
-                 unsigned long int, c);
+                 unsigned long int, c)
 
 int __libc_sigsuspend(const sigset_t * set)
 {
index 7821133..160f38a 100644 (file)
@@ -23,7 +23,7 @@ libc_hidden_proto(stat)
 #define __NR___syscall_stat __NR_stat
 #undef stat
 static __inline__ _syscall2(int, __syscall_stat,
-               const char *, file_name, struct kernel_stat *, buf);
+               const char *, file_name, struct kernel_stat *, buf)
 
 int stat(const char *file_name, struct stat *buf)
 {
index ee4260d..c9ba2bc 100644 (file)
@@ -18,7 +18,7 @@ libc_hidden_proto(stat64)
 # include "xstatconv.h"
 
 static __inline__ _syscall2(int, __syscall_stat64,
-               const char *, file_name, struct kernel_stat64 *, buf);
+               const char *, file_name, struct kernel_stat64 *, buf)
 
 int stat64(const char *file_name, struct stat64 *buf)
 {
index d2f8122..e663c58 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef INLINE_SYSCALL
 #define INLINE_SYSCALL(name, nr, args...) __syscall_sync (args)
 #define __NR___syscall_sync __NR_sync
-static __inline__ _syscall0(void, __syscall_sync);
+static __inline__ _syscall0(void, __syscall_sync)
 #endif
 
 void sync(void)
index 90a8edd..7e2deff 100644 (file)
@@ -15,7 +15,7 @@
 #define __NR___syscall_sync_file_range __NR_sync_file_range
 static __inline__ _syscall6(int, __syscall_sync_file_range, int, fd,
                off_t, offset_hi, off_t, offset_lo,
-               off_t, nbytes_hi, off_t, nbytes_lo, unsigned int, flags);
+               off_t, nbytes_hi, off_t, nbytes_lo, unsigned int, flags)
 int sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags)
 {
        return __syscall_sync_file_range(fd,
index da6c90f..3ab6165 100644 (file)
@@ -34,10 +34,10 @@ _syscall2(int, truncate64, const char *, path, __off64_t, length)
 #define __NR___syscall_truncate64 __NR_truncate64
 #if defined(__UCLIBC_TRUNCATE64_HAS_4_ARGS__)
 static __inline__ _syscall4(int, __syscall_truncate64, const char *, path,
-       uint32_t, pad, unsigned long, high_length, unsigned long, low_length);
+       uint32_t, pad, unsigned long, high_length, unsigned long, low_length)
 #else
 static __inline__ _syscall3(int, __syscall_truncate64, const char *, path,
-       unsigned long, high_length, unsigned long, low_length);
+       unsigned long, high_length, unsigned long, low_length)
 #endif
 #endif
 
index 01a7b9e..ef9860e 100644 (file)
@@ -11,7 +11,7 @@
 #include <sys/stat.h>
 
 #define __NR___syscall_umask __NR_umask
-static __inline__ _syscall1(__kernel_mode_t, __syscall_umask, __kernel_mode_t, mode);
+static __inline__ _syscall1(__kernel_mode_t, __syscall_umask, __kernel_mode_t, mode)
 
 mode_t umask(mode_t mode)
 {
index 407cd29..453ecd2 100644 (file)
@@ -21,7 +21,7 @@ _syscall1(int, umount, const char *, specialfile)
 #elif defined __NR_umount2
 
 # define __NR___syscall_umount2 __NR_umount2
-static __inline__ _syscall2(int, __syscall_umount2, const char *, special_file, int, flags);
+static __inline__ _syscall2(int, __syscall_umount2, const char *, special_file, int, flags)
 
 int umount(const char *special_file)
 {
index 578763c..09edaa3 100644 (file)
@@ -13,7 +13,7 @@
 
 #define __NR___syscall_ustat __NR_ustat
 static __inline__ _syscall2(int, __syscall_ustat,
-               unsigned short int, kdev_t, struct ustat *, ubuf);
+               unsigned short int, kdev_t, struct ustat *, ubuf)
 
 int ustat(dev_t dev, struct ustat *ubuf)
 {
index 5c51116..c62a855 100644 (file)
@@ -16,7 +16,7 @@ libc_hidden_proto(wait4)
 
 #define __NR___syscall_wait4 __NR_wait4
 static __inline__ _syscall4(int, __syscall_wait4, __kernel_pid_t, pid,
-               int *, status, int, opts, struct rusage *, rusage);
+               int *, status, int, opts, struct rusage *, rusage)
 
 pid_t wait4(pid_t pid, int *status, int opts, struct rusage *rusage)
 {
index 34ae583..799a112 100644 (file)
@@ -9,7 +9,7 @@
 #include <errno.h>
 
 #define __NR___vfork __NR_vfork
-attribute_hidden _syscall0(pid_t, __vfork);
+attribute_hidden _syscall0(pid_t, __vfork)
 libc_hidden_proto(vfork)
 weak_alias(__vfork,vfork)
 libc_hidden_weak(vfork)
index 07cf320..7e4c8d1 100644 (file)
@@ -7,7 +7,7 @@
 void * __curbrk attribute_hidden = 0;
 
 #define __NR__brk __NR_brk
-attribute_hidden _syscall1(void *, _brk, void *, ptr);
+attribute_hidden _syscall1(void *, _brk, void *, ptr)
 
 extern int __init_brk(void) attribute_hidden;
 int
index f251bab..7095bd2 100644 (file)
@@ -33,7 +33,7 @@ libc_hidden_proto(mmap)
 
 #define __NR___syscall_mmap2       __NR_mmap2
 static __inline__ _syscall6(__ptr_t, __syscall_mmap2, __ptr_t, addr,
-       size_t, len, int, prot, int, flags, int, fd, off_t, offset);
+       size_t, len, int, prot, int, flags, int, fd, off_t, offset)
 
 /* This is always 12, even on architectures where PAGE_SHIFT != 12.  */
 # ifndef MMAP2_PAGE_SHIFT
index cad528d..9cb43b4 100644 (file)
@@ -13,5 +13,5 @@
 libc_hidden_proto(mmap)
 
 _syscall6 (__ptr_t, mmap, __ptr_t, addr, size_t, len, int, prot,
-          int, flags, int, fd, __off_t, offset);
+          int, flags, int, fd, __off_t, offset)
 libc_hidden_def(mmap)
index 4e0897f..039d5ed 100644 (file)
@@ -23,5 +23,5 @@ libc_hidden_proto(mmap)
 #endif
 
 _syscall6 (__ptr_t, mmap, __ptr_t, addr, size_t, len, int, prot,
-          int, flags, int, fd, __off_t, offset);
+          int, flags, int, fd, __off_t, offset)
 libc_hidden_def(mmap)
index 2b1a913..b1cce02 100644 (file)
@@ -50,7 +50,7 @@ weak_alias (__libc_pread64, pread64)
 # else /* O32 || N32 */
 #  define __NR___syscall_pread __NR_pread
 static __inline__ _syscall6(ssize_t, __syscall_pread, int, fd, void *, buf,
-               size_t, count, int, dummy, off_t, offset_hi, off_t, offset_lo);
+               size_t, count, int, dummy, off_t, offset_hi, off_t, offset_lo)
 
 ssize_t __libc_pread(int fd, void *buf, size_t count, off_t offset)
 {
@@ -94,7 +94,7 @@ weak_alias (__libc_pwrite64, pwrite64)
 # else /* O32 || N32 */
 #  define __NR___syscall_pwrite __NR_pwrite
 static __inline__ _syscall6(ssize_t, __syscall_pwrite, int, fd, const void *, buf,
-               size_t, count, int, dummy, off_t, offset_hi, off_t, offset_lo);
+               size_t, count, int, dummy, off_t, offset_hi, off_t, offset_lo)
 
 ssize_t __libc_pwrite(int fd, const void *buf, size_t count, off_t offset)
 {
index aef040c..b3175ec 100644 (file)
@@ -24,7 +24,7 @@
 extern __typeof(pread) __libc_pread;
 # define __NR___syscall_pread __NR_pread
 static __inline__ _syscall6(ssize_t, __syscall_pread, int, fd,
-               void *, buf, size_t, count, int, dummy, off_t, offset_hi, off_t, offset_lo);
+               void *, buf, size_t, count, int, dummy, off_t, offset_hi, off_t, offset_lo)
 
 ssize_t __libc_pread(int fd, void *buf, size_t count, off_t offset)
 {
@@ -47,7 +47,7 @@ weak_alias(__libc_pread64,pread64)
 extern __typeof(pwrite) __libc_pwrite;
 # define __NR___syscall_pwrite __NR_pwrite
 static __inline__ _syscall6(ssize_t, __syscall_pwrite, int, fd,
-               const void *, buf, size_t, count, int, dummy, off_t, offset_hi, off_t, offset_lo);
+               const void *, buf, size_t, count, int, dummy, off_t, offset_hi, off_t, offset_lo)
 
 ssize_t __libc_pwrite(int fd, const void *buf, size_t count, off_t offset)
 {
index bb06924..8a41eb3 100644 (file)
@@ -7,7 +7,7 @@
 void * __curbrk attribute_hidden = 0;
 
 #define __NR__brk __NR_brk
-attribute_hidden _syscall1(void *, _brk, void *, ptr);
+attribute_hidden _syscall1(void *, _brk, void *, ptr)
 
 extern int __init_brk (void) attribute_hidden;
 int
index 1fef23a..e03aaee 100644 (file)
@@ -29,7 +29,7 @@
 extern __typeof(pread) __libc_pread;
 # define __NR___syscall_pread __NR_pread
 static __inline__ _syscall6(ssize_t, __syscall_pread, int, fd, void *, buf,
-               size_t, count, int, dummy, off_t, offset_hi, off_t, offset_lo);
+               size_t, count, int, dummy, off_t, offset_hi, off_t, offset_lo)
 
 ssize_t __libc_pread(int fd, void *buf, size_t count, off_t offset)
 {
@@ -62,7 +62,7 @@ weak_alias(__libc_pread64,pread64)
 extern __typeof(pwrite) __libc_pwrite;
 # define __NR___syscall_pwrite __NR_pwrite
 static __inline__ _syscall6(ssize_t, __syscall_pwrite, int, fd, const void *, buf,
-               size_t, count, int, dummy, off_t, offset_hi, off_t, offset_lo);
+               size_t, count, int, dummy, off_t, offset_hi, off_t, offset_lo)
 
 ssize_t __libc_pwrite(int fd, const void *buf, size_t count, off_t offset)
 {
index bb06924..8a41eb3 100644 (file)
@@ -7,7 +7,7 @@
 void * __curbrk attribute_hidden = 0;
 
 #define __NR__brk __NR_brk
-attribute_hidden _syscall1(void *, _brk, void *, ptr);
+attribute_hidden _syscall1(void *, _brk, void *, ptr)
 
 extern int __init_brk (void) attribute_hidden;
 int
index 72fb37d..ca5eddd 100644 (file)
@@ -13,5 +13,5 @@
 libc_hidden_proto(mmap)
 
 _syscall6 (__ptr_t, mmap, __ptr_t, addr, size_t, len, int, prot,
-          int, flags, int, fd, __off_t, offset);
+          int, flags, int, fd, __off_t, offset)
 libc_hidden_def(mmap)
index 41bfb79..28e4077 100644 (file)
@@ -6,6 +6,6 @@
 
 libc_hidden_proto(mmap)
 _syscall6 (void *, mmap, void *, start, size_t, length, int, prot, int, flags,
-               int, fd, off_t, offset);
+               int, fd, off_t, offset)
 libc_hidden_def(mmap)
 
index 40d0f03..f44d977 100644 (file)
@@ -32,7 +32,7 @@ extern __typeof(pwrite64) __libc_pwrite64;
 # define __NR___syscall_pread __NR_pread
 /* On Xtensa, 64-bit values are aligned in even/odd register pairs.  */
 static __inline__ _syscall6(ssize_t, __syscall_pread, int, fd, void *, buf,
-               size_t, count, int, pad, off_t, offset_hi, off_t, offset_lo);
+               size_t, count, int, pad, off_t, offset_hi, off_t, offset_lo)
 
 ssize_t __libc_pread(int fd, void *buf, size_t count, off_t offset)
 {
@@ -57,7 +57,7 @@ weak_alias(__libc_pread64,pread64)
 # define __NR___syscall_pwrite __NR_pwrite
 /* On Xtensa, 64-bit values are aligned in even/odd register pairs.  */
 static __inline__ _syscall6(ssize_t, __syscall_pwrite, int, fd, const void *, buf,
-               size_t, count, int, pad, off_t, offset_hi, off_t, offset_lo);
+               size_t, count, int, pad, off_t, offset_hi, off_t, offset_lo)
 
 ssize_t __libc_pwrite(int fd, const void *buf, size_t count, off_t offset)
 {