Provide extern declarations for *utent calls.
Showing
1 changed file
with
6 additions
and
0 deletions
... | @@ -30,6 +30,12 @@ | ... | @@ -30,6 +30,12 @@ |
30 | # include <utmp.h> | 30 | # include <utmp.h> |
31 | #endif | 31 | #endif |
32 | 32 | ||
33 | #ifndef HAVE_GETUTENT_CALLS | ||
34 | extern void setutent __P((void)); | ||
35 | extern struct utmp *getutent __P((void)); | ||
36 | extern void getutent __P((void)); | ||
37 | #endif | ||
38 | |||
33 | #ifdef UTMPX | 39 | #ifdef UTMPX |
34 | # ifdef HAVE_UTMPX_H | 40 | # ifdef HAVE_UTMPX_H |
35 | # include <utmpx.h> | 41 | # include <utmpx.h> | ... | ... |
-
Please register or sign in to post a comment