summaryrefslogtreecommitdiff
path: root/comsat
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-05-02 12:29:37 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-05-02 12:29:37 +0000
commit1d9d8dbc9cb4531aed8702e37de58bc2665beb07 (patch)
treeeb6fbd9f27cbe5fe8ddb4e299c1b5f2dac15bd75 /comsat
parenta2c1b789683ddd010c876e657a11b6a0eda1a0b9 (diff)
downloadmailutils-1d9d8dbc9cb4531aed8702e37de58bc2665beb07.tar.gz
mailutils-1d9d8dbc9cb4531aed8702e37de58bc2665beb07.tar.bz2
Provide extern declarations for *utent calls.
Diffstat (limited to 'comsat')
-rw-r--r--comsat/comsat.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/comsat/comsat.c b/comsat/comsat.c
index 2408a2130..e6abacd19 100644
--- a/comsat/comsat.c
+++ b/comsat/comsat.c
@@ -30,6 +30,12 @@
# include <utmp.h>
#endif
+#ifndef HAVE_GETUTENT_CALLS
+extern void setutent __P((void));
+extern struct utmp *getutent __P((void));
+extern void getutent __P((void));
+#endif
+
#ifdef UTMPX
# ifdef HAVE_UTMPX_H
# include <utmpx.h>

Return to:

Send suggestions and report system problems to the System administrator.