]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
ubik-reorder-functions-20040808
authorDerrick Brashear <shadow@dementia.org>
Mon, 9 Aug 2004 00:57:23 +0000 (00:57 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 9 Aug 2004 00:57:23 +0000 (00:57 +0000)
avoid need for prototypes by reordering

src/ubik/ubik.c

index 901bbc4d7e20128351edfc4a64c0ae8c34225b50..e0e7838dd6df2b91c6e69db0bf8eb89581930611 100644 (file)
@@ -185,31 +185,6 @@ ContactQuorum(aproc, atrans, aflags, aparm0, aparm1, aparm2, aparm3, aparm4,
     Note that the host named by myHost should not also be listed in serverList.
 */
 
-int
-ubik_ServerInitByInfo(afs_int32 myHost, short myPort,
-                     struct afsconf_cell *info, char clones[],
-                     char *pathName, struct ubik_dbase **dbase)
-{
-    afs_int32 code;
-
-    code =
-       ubik_ServerInitCommon(myHost, myPort, info, clones, 0, pathName,
-                             dbase);
-    return code;
-}
-
-int
-ubik_ServerInit(afs_int32 myHost, short myPort, afs_int32 serverList[],
-               char *pathName, struct ubik_dbase **dbase)
-{
-    afs_int32 code;
-
-    code =
-       ubik_ServerInitCommon(myHost, myPort, (struct afsconf_cell *)0, 0,
-                             serverList, pathName, dbase);
-    return code;
-}
-
 int
 ubik_ServerInitCommon(afs_int32 myHost, short myPort,
                      struct afsconf_cell *info, char clones[],
@@ -321,6 +296,31 @@ ubik_ServerInitCommon(afs_int32 myHost, short myPort,
     return code;
 }
 
+int
+ubik_ServerInitByInfo(afs_int32 myHost, short myPort,
+                     struct afsconf_cell *info, char clones[],
+                     char *pathName, struct ubik_dbase **dbase)
+{
+    afs_int32 code;
+
+    code =
+       ubik_ServerInitCommon(myHost, myPort, info, clones, 0, pathName,
+                             dbase);
+    return code;
+}
+
+int
+ubik_ServerInit(afs_int32 myHost, short myPort, afs_int32 serverList[],
+               char *pathName, struct ubik_dbase **dbase)
+{
+    afs_int32 code;
+
+    code =
+       ubik_ServerInitCommon(myHost, myPort, (struct afsconf_cell *)0, 0,
+                             serverList, pathName, dbase);
+    return code;
+}
+
 /*  This routine begins a read or write transaction on the transaction
     identified by transPtr, in the dbase named by dbase.  An open mode of
     ubik_READTRANS identifies this as a read transaction, while a mode of