about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-09-07 22:10:43 +0000
committerUlrich Drepper <drepper@redhat.com>2004-09-07 22:10:43 +0000
commit36ccb375a7f4db3ef66a0115961cfef23befa0e6 (patch)
tree6220f891c30835635011012deaff9caa9247a15e
parente2e2181e417caa6d858f5c88988890e16a9c0310 (diff)
downloadglibc-36ccb375a7f4db3ef66a0115961cfef23befa0e6.tar.gz
glibc-36ccb375a7f4db3ef66a0115961cfef23befa0e6.tar.xz
glibc-36ccb375a7f4db3ef66a0115961cfef23befa0e6.zip
Use __PMT instead of __P where appropriate.
-rw-r--r--sysdeps/generic/glob.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sysdeps/generic/glob.c b/sysdeps/generic/glob.c
index 2a7ca558e8..53e17330f4 100644
--- a/sysdeps/generic/glob.c
+++ b/sysdeps/generic/glob.c
@@ -334,19 +334,19 @@ extern char *alloca ();
 #include <glob.h>
 
 #ifdef HAVE_GETLOGIN_R
-extern int getlogin_r __P ((char *, size_t));
+extern int getlogin_r __PMT ((char *, size_t));
 #else
-extern char *getlogin __P ((void));
+extern char *getlogin __PMT ((void));
 #endif
 
 static const char *next_brace_sub __P ((const char *begin, int flags));
 
 #endif /* GLOB_ONLY_P */
 
-static int glob_in_dir __P ((const char *pattern, const char *directory,
-			     int flags,
-			     int (*errfunc) (const char *, int),
-			     glob_t *pglob));
+static int glob_in_dir __PMT ((const char *pattern, const char *directory,
+			       int flags,
+			       int (*errfunc) (const char *, int),
+			       glob_t *pglob));
 
 #if !defined _LIBC || !defined GLOB_ONLY_P
 static int prefix_array __P ((const char *prefix, char **array, size_t n));
@@ -396,7 +396,7 @@ GLOB_ATTRIBUTE
 glob (pattern, flags, errfunc, pglob)
      const char *pattern;
      int flags;
-     int (*errfunc) __P ((const char *, int));
+     int (*errfunc) __PMT ((const char *, int));
      glob_t *pglob;
 {
   const char *filename;
@@ -1283,7 +1283,7 @@ glob_in_dir (pattern, directory, flags, errfunc, pglob)
      const char *pattern;
      const char *directory;
      int flags;
-     int (*errfunc) __P ((const char *, int));
+     int (*errfunc) __PMT ((const char *, int));
      glob_t *pglob;
 {
   __ptr_t stream = NULL;