From: Ezra Peisach Date: Thu, 29 Jun 2000 01:02:57 +0000 (+0000) Subject: * cr_tkt.c: Provide prototype for static krb_cr_tkt_int function X-Git-Tag: krb5-1.3-alpha1~2072 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b653f5ffe769eb82b566a447290539735187dfbe;p=krb5.git * cr_tkt.c: Provide prototype for static krb_cr_tkt_int function before being used. * getst.c: Remove unused variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12459 dc483132-0cff-0310-8789-dd5450dbe970 --- 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 + + * 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 * 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 #include +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);