use PROTOTYPE and K&R style definitions, per krb5 style
authorMark Eichin <eichin@mit.edu>
Tue, 12 Mar 1996 10:16:23 +0000 (10:16 +0000)
committerMark Eichin <eichin@mit.edu>
Tue, 12 Mar 1996 10:16:23 +0000 (10:16 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7605 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/krb5/k5mech.c
src/lib/gssapi/mechglue/g_initialize.c

index ac3a2909a908b2ab6e5470c4839a57ed7883ec78..7de0a19309a195a7a02b2c87504633e72a86d738 100644 (file)
 /* ident  "@(#)krb5_gssd_extern_srvr.conf 1.10     95/08/01 SMI" */
 
 OM_uint32 krb5_gss_internal_release_oid
-      (void *,                /* context */
+      PROTOTYPE((void *,                /* context */
        OM_uint32 *,           /* minor_status */
        gss_OID *              /* OID */
-      );
+      ));
 
 extern OM_uint32 krb5_gss_get_context
-          (void**
-          );
+          PROTOTYPE((void**
+          ));
 
 extern int krb5_pname_to_uid
-             (void *,           /* context */
+             PROTOTYPE((void *,           /* context */
               char *,          /* principal name */
               gss_OID,         /* name_type */
              gss_OID,          /* mech_type */
               uid_t *          /* uid (OUT) */
-             );
+             ));
 
 /*
  * This is the declaration of the mechs_array table for Kerberos V5.
index cf75155c9bb4f39f93ee101bc41356aca4f901f8..fc936f5c745a091acdebda323b6bc399a5548de0 100644 (file)
@@ -62,7 +62,9 @@ gss_mechanism *__gss_mechs_array = NULL;
  */
 
 static OM_uint32
-add_mechanism (gss_mechanism mech, int replace)
+add_mechanism (mech, replace)
+     gss_mechanism mech;
+     int replace;
 {
     gss_mechanism *    temp_array;
     gss_OID_set                mech_names;
@@ -128,7 +130,7 @@ add_mechanism (gss_mechanism mech, int replace)
     return GSS_S_COMPLETE;
 }
 
-void gss_initialize (void)
+void gss_initialize ()
 {
     gss_mechanism mech;
 
@@ -175,7 +177,7 @@ void gss_initialize (void)
  * load, load them, and then load the mechanism defitions in
  * and add the mechanisms
  */
-static void solaris_initialize (void)
+static void solaris_initialize ()
 {
     char buffer[BUFSIZ], *filename, *symname, *endp;
     FILE *conffile;