diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/krb4/ChangeLog | 7 | ||||
| -rw-r--r-- | src/lib/krb4/cr_tkt.c | 8 | ||||
| -rw-r--r-- | src/lib/krb4/getst.c | 2 |
3 files changed, 16 insertions, 1 deletions
diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index c1d81d3b4..cdf51ac37 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -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(). diff --git a/src/lib/krb4/cr_tkt.c b/src/lib/krb4/cr_tkt.c index 34bec4801..7ed959f78 100644 --- a/src/lib/krb4/cr_tkt.c +++ b/src/lib/krb4/cr_tkt.c @@ -15,6 +15,14 @@ #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 diff --git a/src/lib/krb4/getst.c b/src/lib/krb4/getst.c index c2f15edc0..53c5e27bf 100644 --- a/src/lib/krb4/getst.c +++ b/src/lib/krb4/getst.c @@ -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); |
