* commands.c: Declare sourceroute() static
authorEzra Peisach <epeisach@mit.edu>
Mon, 2 Jul 2001 13:26:33 +0000 (13:26 +0000)
committerEzra Peisach <epeisach@mit.edu>
Mon, 2 Jul 2001 13:26:33 +0000 (13:26 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13542 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/telnet/telnet/ChangeLog
src/appl/telnet/telnet/commands.c

index 3c26a8e3631b4aae267cf7f5c475970b5ab646eb..82c288f286674831997d40009c0f93586466b6c3 100644 (file)
@@ -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.
index e992d39d08d77f312c406b97e9c0e191a2cbb781..3fb07041c59c1787faa15bb271766a8f4e40951c 100644 (file)
 
 #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;