* memcache.h: Don't use macro PROTOTYPE
authorDanilo Almeida <dalmeida@mit.edu>
Fri, 13 Apr 2001 15:38:21 +0000 (15:38 +0000)
committerDanilo Almeida <dalmeida@mit.edu>
Fri, 13 Apr 2001 15:38:21 +0000 (15:38 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13176 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb4/ChangeLog
src/lib/krb4/memcache.h

index 27bb280e59e71052ec43fc98fccbf5fcfd347991..b9927351ecb632381dcd5548cc4fc1bee110d8e6 100644 (file)
@@ -1,3 +1,7 @@
+2001-04-13  Danilo Almeida  <dalmeida@mit.edu>
+
+       * memcache.h: Don't use macro PROTOTYPE.
+
 2001-04-10  Ken Raeburn  <raeburn@mit.edu>
 
        * cr_err_repl.c (req_act_vno): Delete commented-out declaration.
index 4126e115fd85e5649d353df586796d9b3409c5b1..d6d04190b96d795548c3cea89ab51444144fac95 100644 (file)
@@ -17,34 +17,20 @@ struct Session {
 };
 typedef struct Session Session;
 
-OSErr          GetNumSessions PROTOTYPE ((int *n));
-OSErr          GetNthSession PROTOTYPE ((const int n, char *name,
-                                         char *instance, char *realm));
-OSErr          DeleteSession PROTOTYPE ((const char *name,
-                                         const char *instance,
-                                         const char *realm));
-
-OSErr          GetCredentials PROTOTYPE ((const char *name,
-                                          const char *instance,
-                                          const char *realm,
-                                          CREDENTIALS *cr));   
-               /* name, instance, and realm of service wanted should be
-                  set in *cr before calling */
-OSErr          AddCredentials PROTOTYPE ((const char *name,
-                                          const char *instance,
-                                          const char *realm,
-                                          const CREDENTIALS *cr));
-OSErr          DeleteCredentials PROTOTYPE ((const char *uname,
-                                             const char *uinst,
-                                             const char *urealm,
-                                             const char *sname,
-                                             const char *sinst,
-                                             const char *srealm));
-OSErr          GetNumCredentials PROTOTYPE ((const char *name,
-                                             const char *instance,
-                                             const char *realm, int *n));
-OSErr          GetNthCredentials PROTOTYPE ((const char *uname,
-                                             const char *uinst,
-                                             const char *urealm, char *sname,
-                                             char *sinst, char *srealm,
-                                             const int n));
+OSErr GetNumSessions(int *n);
+OSErr GetNthSession(const int n, char *name, char *instance, char *realm);
+OSErr DeleteSession(const char *name, const char *instance, const char *realm);
+OSErr GetCredentials(const char *name, const char *instance, const char *realm,
+                    CREDENTIALS *cr);  
+/* name, instance, and realm of service wanted should be set in *cr
+   before calling */
+OSErr AddCredentials(const char *name, const char *instance, const char *realm,
+                    const CREDENTIALS *cr);
+OSErr DeleteCredentials(const char *uname, const char *uinst,
+                       const char *urealm, const char *sname,
+                       const char *sinst, const char *srealm);
+OSErr GetNumCredentials(const char *name, const char *instance,
+                       const char *realm, int *n);
+OSErr GetNthCredentials(const char *uname, const char *uinst,
+                       const char *urealm, char *sname, char *sinst,
+                       char *srealm, const int n);