Source-Changes-HG archive

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

[src/trunk]: src/include Add __P(()); noticed by wiz.



details:   https://anonhg.NetBSD.org/src/rev/03ff86986d01
branches:  trunk
changeset: 534516:03ff86986d01
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jul 28 22:48:38 2002 +0000

description:
Add __P(()); noticed by wiz.

diffstat:

 include/utmp.h  |  10 +++++-----
 include/utmpx.h |  28 ++++++++++++++--------------
 2 files changed, 19 insertions(+), 19 deletions(-)

diffs (70 lines):

diff -r b0153fee8682 -r 03ff86986d01 include/utmp.h
--- a/include/utmp.h    Sun Jul 28 22:43:13 2002 +0000
+++ b/include/utmp.h    Sun Jul 28 22:48:38 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: utmp.h,v 1.8 2002/07/28 21:45:39 christos Exp $        */
+/*     $NetBSD: utmp.h,v 1.9 2002/07/28 22:48:38 christos Exp $        */
 
 /*
  * Copyright (c) 1988, 1993
@@ -65,10 +65,10 @@
 };
 
 __BEGIN_DECLS
-int utmpname(const char *);
-void setutent(void);
-struct utmp *getutent(void);
-void endutent(void);
+int utmpname __P((const char *));
+void setutent __P((void));
+struct utmp *getutent __P((void));
+void endutent __P((void));
 __END_DECLS
 
 #endif /* !_UTMP_H_ */
diff -r b0153fee8682 -r 03ff86986d01 include/utmpx.h
--- a/include/utmpx.h   Sun Jul 28 22:43:13 2002 +0000
+++ b/include/utmpx.h   Sun Jul 28 22:48:38 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: utmpx.h,v 1.8 2002/07/27 19:38:08 christos Exp $        */
+/*     $NetBSD: utmpx.h,v 1.9 2002/07/28 22:48:38 christos Exp $        */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -111,23 +111,23 @@
 
 __BEGIN_DECLS
 
-void setutxent(void);
-void endutxent(void);
-struct utmpx *getutxent(void);
-struct utmpx *getutxid(const struct utmpx *);
-struct utmpx *getutxline(const struct utmpx *);
-struct utmpx *pututxline(const struct utmpx *);
+void setutxent __P((void));
+void endutxent __P((void));
+struct utmpx *getutxent __P((void));
+struct utmpx *getutxid __P((const struct utmpx *));
+struct utmpx *getutxline __P((const struct utmpx *));
+struct utmpx *pututxline __P((const struct utmpx *));
 
 #ifndef _XOPEN_SOURCE
-int updwtmpx(const char *, const struct utmpx *);
-int lastlogxname(const char *);
-struct lastlogx *getlastlogx(uid_t, struct lastlogx *);
-int updlastlogx(const char *, uid_t, struct lastlogx *);
+int updwtmpx __P((const char *, const struct utmpx *));
+int lastlogxname __P((const char *));
+struct lastlogx *getlastlogx __P((uid_t, struct lastlogx *));
+int updlastlogx __P((const char *, uid_t, struct lastlogx *));
 struct utmp;
-void getutmp(const struct utmpx *, struct utmp *);
-void getutmpx(const struct utmp *, struct utmpx *);
+void getutmp __P((const struct utmpx *, struct utmp *));
+void getutmpx __P((const struct utmp *, struct utmpx *));
 
-int utmpxname(const char *);
+int utmpxname __P((const char *));
 
 #endif /* !_XOPEN_SOURCE */
 



Home | Main Index | Thread Index | Old Index