1) not static
authorJohn Kohl <jtkohl@mit.edu>
Tue, 28 Aug 1990 11:37:32 +0000 (11:37 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Tue, 28 Aug 1990 11:37:32 +0000 (11:37 +0000)
2) need new-style function headers.

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

src/lib/krb5/asn.1/kkdcr2kdcr.c

index 617a3f00689954b38eb4a2718c09674eb9ff5a03..350340f6176ae391960e2768370eed985cf5985f 100644 (file)
@@ -28,11 +28,13 @@ static char rcsid_kkdcr2kdcr_c[] =
 
 /* ISODE defines max(a,b) */
 
-static struct type_KRB5_KDC__REP *
-krb5_kdc_rep2KRB5_KDC__REP(val, type, error)
-const register krb5_kdc_rep *val;
-const krb5_msgtype type;
-register int *error;
+struct type_KRB5_KDC__REP *
+krb5_kdc_rep2KRB5_KDC__REP(DECLARG(const register krb5_kdc_rep *,val),
+                          DECLARG(const krb5_msgtype, type),
+                          DECLARG(register int *,error))
+OLDDECLARG(const register krb5_kdc_rep *,val)
+OLDDECLARG(const krb5_msgtype, type)
+OLDDECLARG(register int *,error)
 {
     register struct type_KRB5_KDC__REP *retval;