Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-04 05:41:16 +0300
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 20:47:13 +0300
commiteea249da3bc81776246ad5163f5eb887afdd3659 (patch)
tree610f12206d520381c1ef4370720522f304bed2c8 /newlib/libc/machine/cris/sys
parente13e191b6052a62701d8fb22c3660df23d3b6ec1 (diff)
ansification: remove _PARAMS
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/machine/cris/sys')
-rw-r--r--newlib/libc/machine/cris/sys/errno.h2
-rw-r--r--newlib/libc/machine/cris/sys/fcntl.h12
2 files changed, 7 insertions, 7 deletions
diff --git a/newlib/libc/machine/cris/sys/errno.h b/newlib/libc/machine/cris/sys/errno.h
index dc4ffe28c..3d573015d 100644
--- a/newlib/libc/machine/cris/sys/errno.h
+++ b/newlib/libc/machine/cris/sys/errno.h
@@ -16,7 +16,7 @@ extern "C" {
#ifndef _REENT_ONLY
#define errno (*__errno())
-extern int *__errno _PARAMS ((void));
+extern int *__errno (void);
#endif
/* Please don't use these variables directly.
diff --git a/newlib/libc/machine/cris/sys/fcntl.h b/newlib/libc/machine/cris/sys/fcntl.h
index 6017a190f..7630a9874 100644
--- a/newlib/libc/machine/cris/sys/fcntl.h
+++ b/newlib/libc/machine/cris/sys/fcntl.h
@@ -143,17 +143,17 @@ struct eflock {
#include <sys/types.h>
#include <sys/stat.h> /* sigh. for the mode bits for open/creat */
-extern int open _PARAMS ((const char *, int, ...));
-extern int creat _PARAMS ((const char *, mode_t));
-extern int fcntl _PARAMS ((int, int, ...));
+extern int open (const char *, int, ...);
+extern int creat (const char *, mode_t);
+extern int fcntl (int, int, ...);
/* Provide _<systemcall> prototypes for functions provided by some versions
of newlib. */
#ifdef _COMPILING_NEWLIB
-extern int _open _PARAMS ((const char *, int, ...));
-extern int _fcntl _PARAMS ((int, int, ...));
+extern int _open (const char *, int, ...);
+extern int _fcntl (int, int, ...);
#ifdef __LARGE64_FILES
-extern int _open64 _PARAMS ((const char *, int, ...));
+extern int _open64 (const char *, int, ...);
#endif
#endif