about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/glob.c7
-rw-r--r--posix/regcomp.c3
-rw-r--r--posix/regexec.c3
3 files changed, 4 insertions, 9 deletions
diff --git a/posix/glob.c b/posix/glob.c
index d178cf0206..7d90c5bd16 100644
--- a/posix/glob.c
+++ b/posix/glob.c
@@ -250,11 +250,8 @@ int
 #ifdef GLOB_ATTRIBUTE
 GLOB_ATTRIBUTE
 #endif
-glob (pattern, flags, errfunc, pglob)
-     const char *pattern;
-     int flags;
-     int (*errfunc) (const char *, int);
-     glob_t *pglob;
+glob (const char *pattern, int flags, int (*errfunc) (const char *, int),
+      glob_t *pglob)
 {
   const char *filename;
   char *dirname = NULL;
diff --git a/posix/regcomp.c b/posix/regcomp.c
index c8e0c79219..94748beae9 100644
--- a/posix/regcomp.c
+++ b/posix/regcomp.c
@@ -662,8 +662,7 @@ char *
    regcomp/regexec above without link errors.  */
 weak_function
 # endif
-re_comp (s)
-     const char *s;
+re_comp (const char *s)
 {
   reg_errcode_t ret;
   char *fastmap;
diff --git a/posix/regexec.c b/posix/regexec.c
index f748a314bb..8699e71b30 100644
--- a/posix/regexec.c
+++ b/posix/regexec.c
@@ -588,8 +588,7 @@ int
 # ifdef _LIBC
 weak_function
 # endif
-re_exec (s)
-     const char *s;
+re_exec (const char *s)
 {
   return 0 == regexec (&re_comp_buf, s, 0, NULL, 0);
 }