diff options
author | Ezra Peisach <epeisach@mit.edu> | 2001-07-02 13:26:33 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2001-07-02 13:26:33 +0000 |
commit | e605dfc0ef98d3a4e9f6ae7f081c727e7d92815a (patch) | |
tree | 7dfa4ba033a9dc604f8f6c367e6043cfde44c324 | |
parent | 3e871f46719cb0496ed86307a7969487e2aed933 (diff) | |
download | krb5-e605dfc0ef98d3a4e9f6ae7f081c727e7d92815a.tar.gz krb5-e605dfc0ef98d3a4e9f6ae7f081c727e7d92815a.tar.xz krb5-e605dfc0ef98d3a4e9f6ae7f081c727e7d92815a.zip |
* commands.c: Declare sourceroute() static
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13542 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/appl/telnet/telnet/ChangeLog | 4 | ||||
-rw-r--r-- | src/appl/telnet/telnet/commands.c | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/appl/telnet/telnet/ChangeLog b/src/appl/telnet/telnet/ChangeLog index 3c26a8e363..82c288f286 100644 --- a/src/appl/telnet/telnet/ChangeLog +++ b/src/appl/telnet/telnet/ChangeLog @@ -1,3 +1,7 @@ +2001-07-02 Ezra Peisach <epeisach@mit.edu> + + * commands.c: Declare sourceroute() static. + 2001-07-01 Ezra Peisach <epeisach@mit.edu> * commands.c: Declare local functions static. diff --git a/src/appl/telnet/telnet/commands.c b/src/appl/telnet/telnet/commands.c index e992d39d08..3fb07041c5 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; |