diff options
| author | christos <christos@NetBSD.org> | 2002-07-28 22:48:38 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2002-07-28 22:48:38 +0000 |
| commit | 2caaca4c2b17ebf78fca0e3290f9b557898dff9d (patch) | |
| tree | 91a623fcb4cf0a60118a9c0c44a963a7899ccaf1 /include | |
| parent | 354b208f1e118b3fe567de3d914673c6c35257db (diff) | |
Add __P(()); noticed by wiz.
Diffstat (limited to 'include')
| -rw-r--r-- | include/utmp.h | 10 | ||||
| -rw-r--r-- | include/utmpx.h | 28 |
2 files changed, 19 insertions, 19 deletions
diff --git a/include/utmp.h b/include/utmp.h index 64412c08a11..54c8b769238 100644 --- a/include/utmp.h +++ b/include/utmp.h @@ -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 @@ struct utmp { }; __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 --git a/include/utmpx.h b/include/utmpx.h index 6b4b21130df..304b9987442 100644 --- a/include/utmpx.h +++ b/include/utmpx.h @@ -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 @@ struct lastlogx { __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 */ |
