diff options
Diffstat (limited to 'lib/libtelnet')
-rw-r--r-- | lib/libtelnet/genget.c | 1 | ||||
-rw-r--r-- | lib/libtelnet/getent.c | 3 | ||||
-rw-r--r-- | lib/libtelnet/misc.c | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/lib/libtelnet/genget.c b/lib/libtelnet/genget.c index a43579f..29c7519 100644 --- a/lib/libtelnet/genget.c +++ b/lib/libtelnet/genget.c @@ -49,7 +49,6 @@ static char sccsid[] = "@(#)genget.c 8.1 (Berkeley) 6/4/93"; isprefix(s1, s2) register char *s1, *s2; { - register int n = 0; char *os1; register char c1, c2; diff --git a/lib/libtelnet/getent.c b/lib/libtelnet/getent.c index 05626f1..e87bf66 100644 --- a/lib/libtelnet/getent.c +++ b/lib/libtelnet/getent.c @@ -35,9 +35,12 @@ static char sccsid[] = "@(#)getent.c 8.2 (Berkeley) 12/15/93"; #endif /* not lint */ +#include <stdlib.h> + static char *area; /*ARGSUSED*/ +int getent(cp, name) char *cp, *name; { diff --git a/lib/libtelnet/misc.c b/lib/libtelnet/misc.c index 241c88a..d4242b6 100644 --- a/lib/libtelnet/misc.c +++ b/lib/libtelnet/misc.c @@ -35,6 +35,8 @@ static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/4/93"; #endif /* not lint */ +#include <stdio.h> +#include <stdlib.h> #include "misc.h" char *RemoteHostName; |