Add __P(()); noticed by wiz.

This commit is contained in:
christos 2002-07-28 22:48:38 +00:00
parent 354b208f1e
commit 2caaca4c2b
2 changed files with 19 additions and 19 deletions

View File

@ -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 * Copyright (c) 1988, 1993
@ -65,10 +65,10 @@ struct utmp {
}; };
__BEGIN_DECLS __BEGIN_DECLS
int utmpname(const char *); int utmpname __P((const char *));
void setutent(void); void setutent __P((void));
struct utmp *getutent(void); struct utmp *getutent __P((void));
void endutent(void); void endutent __P((void));
__END_DECLS __END_DECLS
#endif /* !_UTMP_H_ */ #endif /* !_UTMP_H_ */

View File

@ -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. * Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -111,23 +111,23 @@ struct lastlogx {
__BEGIN_DECLS __BEGIN_DECLS
void setutxent(void); void setutxent __P((void));
void endutxent(void); void endutxent __P((void));
struct utmpx *getutxent(void); struct utmpx *getutxent __P((void));
struct utmpx *getutxid(const struct utmpx *); struct utmpx *getutxid __P((const struct utmpx *));
struct utmpx *getutxline(const struct utmpx *); struct utmpx *getutxline __P((const struct utmpx *));
struct utmpx *pututxline(const struct utmpx *); struct utmpx *pututxline __P((const struct utmpx *));
#ifndef _XOPEN_SOURCE #ifndef _XOPEN_SOURCE
int updwtmpx(const char *, const struct utmpx *); int updwtmpx __P((const char *, const struct utmpx *));
int lastlogxname(const char *); int lastlogxname __P((const char *));
struct lastlogx *getlastlogx(uid_t, struct lastlogx *); struct lastlogx *getlastlogx __P((uid_t, struct lastlogx *));
int updlastlogx(const char *, uid_t, struct lastlogx *); int updlastlogx __P((const char *, uid_t, struct lastlogx *));
struct utmp; struct utmp;
void getutmp(const struct utmpx *, struct utmp *); void getutmp __P((const struct utmpx *, struct utmp *));
void getutmpx(const struct utmp *, struct utmpx *); void getutmpx __P((const struct utmp *, struct utmpx *));
int utmpxname(const char *); int utmpxname __P((const char *));
#endif /* !_XOPEN_SOURCE */ #endif /* !_XOPEN_SOURCE */