From b6f6bda54728e1a2bdb9daa62a33b5e8509b80a1 Mon Sep 17 00:00:00 2001 From: Bob Zieman Date: Thu, 10 Sep 1992 13:32:11 +0000 Subject: [PATCH] changed return from void to long --- src/db/initHooks.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/db/initHooks.c b/src/db/initHooks.c index 0e4f06065..0f7227586 100644 --- a/src/db/initHooks.c +++ b/src/db/initHooks.c @@ -28,6 +28,7 @@ * Modification Log: * ----------------- * .01 09-05-92 rcz initial version + * .02 09-10-92 rcz changed return from void to long * */ @@ -47,16 +48,21 @@ extern long setMasterTimeToSelf(); /* If this function (initHooks) is loaded, iocInit calls this function * at certain defined points during IOC initialization */ -void initHooks(callNumber) +long initHooks(callNumber) int callNumber; { +long status = 0; switch (callNumber) { case SETMASTERTIMETOSELF: - setMasterTimeToSelf(); + status = setMasterTimeToSelf(); + break; + case DBUSEREXIT: + /* place holder */ + status = 0; /* call user routine here */ break; default: break; } - return; + return(status); }