Commit 1d9d8dbc 1d9d8dbc9cb4531aed8702e37de58bc2665beb07 by Sergey Poznyakoff

Provide extern declarations for *utent calls.

1 parent a2c1b789
...@@ -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>
......