* cr_tkt.c: Provide prototype for static krb_cr_tkt_int function
authorEzra Peisach <epeisach@mit.edu>
Thu, 29 Jun 2000 01:02:57 +0000 (01:02 +0000)
committerEzra Peisach <epeisach@mit.edu>
Thu, 29 Jun 2000 01:02:57 +0000 (01:02 +0000)
        before being used.

        * getst.c: Remove unused variable.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12459 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb4/ChangeLog
src/lib/krb4/cr_tkt.c
src/lib/krb4/getst.c

index c1d81d3b46b00bde6742de298db9f3e2abefc392..cdf51ac37cb9b6c078877394c5b608dfcf3e5302 100644 (file)
@@ -1,3 +1,10 @@
+2000-06-28  Ezra Peisach  <epeisach@mit.edu>
+
+       * cr_tkt.c: Provide prototype for static krb_cr_tkt_int function
+       before being used.
+
+       * getst.c: Remove unused variable.
+
 2000-06-09  Tom Yu  <tlyu@mit.edu>
 
        * configure.in: Check for strdup().
index 34bec48012a1ace61e515a48f75998ed55abcaa3..7ed959f78bba224e67c12493fd9be04ec56a02e6 100644 (file)
 #include <string.h>
 #include <krb5.h>
 
+static int
+krb_cr_tkt_int PROTOTYPE((KTEXT tkt, unsigned char flags, char *pname, 
+                         char *pinstance, char *prealm, long paddress,
+                         char *session, short life, long time_sec, 
+                         char *sname, char *sinstance, C_Block key, 
+                         krb5_keyblock *k5key));
+
+
 /*
  * Create ticket takes as arguments information that should be in a
  * ticket, and the KTEXT object in which the ticket should be
index c2f15edc01a474219f3241590d947065a2bc42d2..53c5e27bf59cd57bb599644b4f3ead7404e33318 100644 (file)
@@ -25,7 +25,7 @@ getst(fd, s, n)
     register char *s;
     int n;
 {
-    register count = n;
+    register int count = n;
     while (read(fd, s, 1) > 0 && --count)
         if (*s++ == '\0')
             return (n - count);