Add __P(()); noticed by wiz.
This commit is contained in:
parent
354b208f1e
commit
2caaca4c2b
|
@ -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_ */
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue