From: Ezra Peisach Date: Mon, 2 Jul 2001 13:26:33 +0000 (+0000) Subject: * commands.c: Declare sourceroute() static X-Git-Tag: krb5-1.3-alpha1~1256 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e605dfc0ef98d3a4e9f6ae7f081c727e7d92815a;p=krb5.git * commands.c: Declare sourceroute() static git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13542 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/telnet/telnet/ChangeLog b/src/appl/telnet/telnet/ChangeLog index 3c26a8e36..82c288f28 100644 --- a/src/appl/telnet/telnet/ChangeLog +++ b/src/appl/telnet/telnet/ChangeLog @@ -1,3 +1,7 @@ +2001-07-02 Ezra Peisach + + * commands.c: Declare sourceroute() static. + 2001-07-01 Ezra Peisach * commands.c: Declare local functions static. diff --git a/src/appl/telnet/telnet/commands.c b/src/appl/telnet/telnet/commands.c index e992d39d0..3fb07041c 100644 --- a/src/appl/telnet/telnet/commands.c +++ b/src/appl/telnet/telnet/commands.c @@ -111,6 +111,7 @@ #if defined(IPPROTO_IP) && defined(IP_TOS) int tos = -1; +static unsigned long sourceroute(char *, char **, int *); #endif /* defined(IPPROTO_IP) && defined(IP_TOS) */ char *hostname; @@ -2394,7 +2395,7 @@ tn(argc, argv) unsigned long temp; #if defined(IP_OPTIONS) && defined(IPPROTO_IP) char *srp = 0; - unsigned long sourceroute(), srlen; + int srlen; #endif char *cmd, *hostp = 0, *portp = 0, *volatile user = 0; @@ -2991,7 +2992,7 @@ cmdrc(m1, m2) * pointed to by *cpp is. * */ - unsigned long +static unsigned long sourceroute(arg, cpp, lenp) char *arg; char **cpp;