From eea249da3bc81776246ad5163f5eb887afdd3659 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Sun, 3 Dec 2017 20:41:16 -0600 Subject: ansification: remove _PARAMS Signed-off-by: Yaakov Selkowitz --- newlib/libc/sys/linux/sys/errno.h | 2 +- newlib/libc/sys/linux/sys/fcntl.h | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'newlib/libc/sys/linux') 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 -- cgit v1.2.3