diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2017-12-04 05:41:16 +0300 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2018-01-17 20:47:13 +0300 |
commit | eea249da3bc81776246ad5163f5eb887afdd3659 (patch) | |
tree | 610f12206d520381c1ef4370720522f304bed2c8 /newlib/libc/sys/linux | |
parent | e13e191b6052a62701d8fb22c3660df23d3b6ec1 (diff) |
ansification: remove _PARAMS
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/sys/linux')
-rw-r--r-- | newlib/libc/sys/linux/sys/errno.h | 2 | ||||
-rw-r--r-- | newlib/libc/sys/linux/sys/fcntl.h | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/newlib/libc/sys/linux/sys/errno.h b/newlib/libc/sys/linux/sys/errno.h index 86a6968fe..049afc18a 100644 --- a/newlib/libc/sys/linux/sys/errno.h +++ b/newlib/libc/sys/linux/sys/errno.h @@ -12,7 +12,7 @@ #ifndef _REENT_ONLY #define errno (*__errno()) -extern int *__errno _PARAMS ((void)); +extern int *__errno (void); #endif extern __IMPORT const char * const _sys_errlist[]; diff --git a/newlib/libc/sys/linux/sys/fcntl.h b/newlib/libc/sys/linux/sys/fcntl.h index 78914fd8f..0fb8ae970 100644 --- a/newlib/libc/sys/linux/sys/fcntl.h +++ b/newlib/libc/sys/linux/sys/fcntl.h @@ -13,17 +13,17 @@ #include <_ansi.h> -extern int creat _PARAMS ((const char *, mode_t)); -extern int _open _PARAMS ((const char *, int, ...)); +extern int creat (const char *, mode_t); +extern int _open (const char *, int, ...); #ifdef __KERNEL_PROTOTYPES extern int open(const char *pathname, int flags, mode_t mode); extern int fcntl(int fd, int cmd, long arg); #else -extern int open _PARAMS ((const char *, int, ...)); -extern int fcntl _PARAMS ((int, int, ...)); +extern int open (const char *, int, ...); +extern int fcntl (int, int, ...); #endif -extern int _fcntl _PARAMS ((int, int, ...)); +extern int _fcntl (int, int, ...); #endif |