diff --git a/appl/telnet/telnet/commands.c b/appl/telnet/telnet/commands.c index d17d4a9ae..64c29811b 100644 --- a/appl/telnet/telnet/commands.c +++ b/appl/telnet/telnet/commands.c @@ -1399,7 +1399,6 @@ shell(argc, argv) * Fire up the shell in the child. */ register char *shellp, *shellname; - extern char *strrchr(); shellp = getenv("SHELL"); if (shellp == NULL) @@ -1676,7 +1675,6 @@ env_init() extern char **environ; register char **epp, *cp; register struct env_lst *ep; - extern char *strchr(); for (epp = environ; *epp; epp++) { if (cp = strchr(*epp, '=')) { @@ -2298,7 +2296,7 @@ int tn(int argc, char **argv) unsigned long temp; extern char *inet_ntoa(); #if defined(IP_OPTIONS) && defined(IPPROTO_IP) - char *srp = 0, *strrchr(); + char *srp = 0; unsigned long sourceroute(), srlen; #endif char *cmd, *hostp = 0, *portp = 0, *user = 0; diff --git a/appl/telnet/telnet/main.c b/appl/telnet/telnet/main.c index 144a6d51f..3995e8afb 100644 --- a/appl/telnet/telnet/main.c +++ b/appl/telnet/telnet/main.c @@ -113,7 +113,7 @@ int main(int argc, char **argv) extern char *optarg; extern int optind; int ch; - char *user, *strrchr(); + char *user; #ifdef FORWARD extern int forward_flags; #endif /* FORWARD */