From fc2133da492c9adb6edfcec9e63fcf7c15f04885 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Mon, 9 Aug 2004 00:57:23 +0000 Subject: [PATCH] ubik-reorder-functions-20040808 avoid need for prototypes by reordering --- src/ubik/ubik.c | 50 ++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/src/ubik/ubik.c b/src/ubik/ubik.c index 901bbc4d7..e0e7838dd 100644 --- a/src/ubik/ubik.c +++ b/src/ubik/ubik.c @@ -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 -- 2.39.5