aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-03 20:41:16 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 11:47:13 -0600
commiteea249da3bc81776246ad5163f5eb887afdd3659 (patch)
tree610f12206d520381c1ef4370720522f304bed2c8 /winsup
parente13e191b6052a62701d8fb22c3660df23d3b6ec1 (diff)
downloadnewlib-eea249da3bc81776246ad5163f5eb887afdd3659.zip
newlib-eea249da3bc81776246ad5163f5eb887afdd3659.tar.gz
newlib-eea249da3bc81776246ad5163f5eb887afdd3659.tar.bz2
ansification: remove _PARAMS
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/include/cygwin/stdlib.h4
-rw-r--r--winsup/cygwin/include/fcntl.h4
-rw-r--r--winsup/cygwin/include/sys/file.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/winsup/cygwin/include/cygwin/stdlib.h b/winsup/cygwin/include/cygwin/stdlib.h
index a8eb4de..fc8bc84 100644
--- a/winsup/cygwin/include/cygwin/stdlib.h
+++ b/winsup/cygwin/include/cygwin/stdlib.h
@@ -45,9 +45,9 @@ int posix_openpt (int);
#define _unsetenv_r UNUSED__unsetenv_r
#endif
-extern _PTR memalign _PARAMS ((size_t, size_t));
+extern _PTR memalign (size_t, size_t);
#if __BSD_VISIBLE || (__XSI_VISIBLE >= 4 && __POSIX_VISIBLE < 200112)
-extern _PTR valloc _PARAMS ((size_t));
+extern _PTR valloc (size_t);
#endif
#undef _malloc_r
diff --git a/winsup/cygwin/include/fcntl.h b/winsup/cygwin/include/fcntl.h
index 3dad088..22adaca 100644
--- a/winsup/cygwin/include/fcntl.h
+++ b/winsup/cygwin/include/fcntl.h
@@ -43,8 +43,8 @@ details. */
#ifdef __cplusplus
extern "C" {
#endif
-extern int posix_fadvise _PARAMS ((int, off_t, off_t, int));
-extern int posix_fallocate _PARAMS ((int, off_t, off_t));
+extern int posix_fadvise (int, off_t, off_t, int);
+extern int posix_fallocate (int, off_t, off_t);
#ifdef __cplusplus
}
#endif
diff --git a/winsup/cygwin/include/sys/file.h b/winsup/cygwin/include/sys/file.h
index 6dabeb7..4d51fd5 100644
--- a/winsup/cygwin/include/sys/file.h
+++ b/winsup/cygwin/include/sys/file.h
@@ -44,7 +44,7 @@ extern "C"
{
#endif
-extern int flock _PARAMS ((int, int));
+extern int flock (int, int);
#ifdef __cplusplus
}