Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include public prototypes should use __P(); fix entries for ...



details:   https://anonhg.NetBSD.org/src/rev/77ec4ad9cfe0
branches:  trunk
changeset: 521249:77ec4ad9cfe0
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Jan 27 07:00:43 2002 +0000

description:
public prototypes should use __P(); fix entries for pwcache_{user,group}db()

diffstat:

 include/grp.h |  6 +++---
 include/pwd.h |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (42 lines):

diff -r 6e1736ef73f0 -r 77ec4ad9cfe0 include/grp.h
--- a/include/grp.h     Sun Jan 27 06:49:22 2002 +0000
+++ b/include/grp.h     Sun Jan 27 07:00:43 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: grp.h,v 1.15 2002/01/24 02:46:33 lukem Exp $   */
+/*     $NetBSD: grp.h,v 1.16 2002/01/27 07:00:43 lukem Exp $   */
 
 /*-
  * Copyright (c) 1989, 1993
@@ -71,9 +71,9 @@
 int             setgroupent __P((int));
 const char     *group_from_gid __P((gid_t, int));
 int             gid_from_group __P((const char *, gid_t *));
-int             pwcache_groupdb(int (*)(int), void (*)(void),
+int             pwcache_groupdb __P((int (*)(int), void (*)(void),
                                    struct group * (*)(const char *),
-                                   struct group * (*)(gid_t));
+                                   struct group * (*)(gid_t)));
 #endif
 __END_DECLS
 
diff -r 6e1736ef73f0 -r 77ec4ad9cfe0 include/pwd.h
--- a/include/pwd.h     Sun Jan 27 06:49:22 2002 +0000
+++ b/include/pwd.h     Sun Jan 27 07:00:43 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pwd.h,v 1.24 2002/01/24 02:46:32 lukem Exp $   */
+/*     $NetBSD: pwd.h,v 1.25 2002/01/27 07:00:43 lukem Exp $   */
 
 /*-
  * Copyright (c) 1989, 1993
@@ -110,9 +110,9 @@
 int             setpassent __P((int));
 const char     *user_from_uid __P((uid_t, int));
 int             uid_from_user __P((const char *, uid_t *));
-int             pwcache_userdb(int (*)(int), void (*)(void),
+int             pwcache_userdb __P((int (*)(int), void (*)(void),
                                    struct passwd * (*)(const char *),
-                                   struct passwd * (*)(uid_t));
+                                   struct passwd * (*)(uid_t)));
 #endif
 __END_DECLS
 



Home | Main Index | Thread Index | Old Index