summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/appl/telnet/telnetd/ChangeLog4
-rw-r--r--src/appl/telnet/telnetd/telnetd.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/src/appl/telnet/telnetd/ChangeLog b/src/appl/telnet/telnetd/ChangeLog
index b1f38c655..bcc94eff1 100644
--- a/src/appl/telnet/telnetd/ChangeLog
+++ b/src/appl/telnet/telnetd/ChangeLog
@@ -1,5 +1,9 @@
2001-06-21 Ezra Peisach <epeisach@mit.edu>
+ * telnetd.c: Add prototypes for getent() and tgetent().
+
+2001-06-21 Ezra Peisach <epeisach@mit.edu>
+
* configure.in: Test if prototypes needed for setenv and unsetenv.
* ext.h: Provide prototypes for unsetenv and setenv if needed.
diff --git a/src/appl/telnet/telnetd/telnetd.c b/src/appl/telnet/telnetd/telnetd.c
index 6e940f982..bff309d76 100644
--- a/src/appl/telnet/telnetd/telnetd.c
+++ b/src/appl/telnet/telnetd/telnetd.c
@@ -42,6 +42,10 @@ static char copyright[] =
#include "telnetd.h"
#include "pathnames.h"
+
+extern int getent(char *, char *);
+extern int tgetent(char *, char *);
+
#if defined(_SC_CRAY_SECURE_SYS) && !defined(SCM_SECURITY)
/*
* UNICOS 6.0/6.1 do not have SCM_SECURITY defined, so we can
@@ -105,7 +109,6 @@ int registerd_host_only = 0;
# include <sys/ptyvar.h>
#endif
-
/*
* Because of the way ptyibuf is used with streams messages, we need
* ptyibuf+1 to be on a full-word boundary. The following wierdness