From: Ezra Peisach Date: Thu, 21 Jun 2001 18:39:11 +0000 (+0000) Subject: * telnetd.c: Add prototypes for getent() and tgetent() X-Git-Tag: krb5-1.3-alpha1~1323 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3ff4bd7c339e22c7eb4c86997d21effbb44c3299;p=krb5.git * telnetd.c: Add prototypes for getent() and tgetent() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13463 dc483132-0cff-0310-8789-dd5450dbe970 --- 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,3 +1,7 @@ +2001-06-21 Ezra Peisach + + * telnetd.c: Add prototypes for getent() and tgetent(). + 2001-06-21 Ezra Peisach * configure.in: Test if prototypes needed for setenv and unsetenv. 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 #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