aboutsummaryrefslogtreecommitdiffstats
path: root/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'time.c')
-rw-r--r--time.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/time.c b/time.c
index a57034a..abb5684 100644
--- a/time.c
+++ b/time.c
@@ -264,17 +264,17 @@ static long mytime()
long sec, mic, mili = 0;
struct timerequest *timermsg;
struct MsgPort *timerport;
- if(!(timerport = (struct MsgPort *)CreatePort(0, 0))){
+ if (!(timerport = (struct MsgPort *)CreatePort(0, 0))){
lputs("No mem for port.\n", cur_errp);
return mili;
}
- if(!(timermsg = (struct timerequest *)
+ if (!(timermsg = (struct timerequest *)
CreateExtIO(timerport, sizeof(struct timerequest)))){
lputs("No mem for timerequest.\n", cur_errp);
DeletePort(timermsg->tr_node.io_Message.mn_ReplyPort);
return mili;
}
- if(!(OpenDevice(TIMERNAME, UNIT_MICROHZ, timermsg, 0))){
+ if (!(OpenDevice(TIMERNAME, UNIT_MICROHZ, timermsg, 0))){
timermsg->tr_node.io_Command = TR_GETSYSTIME;
timermsg->tr_node.io_Flags = 0;
DoIO(timermsg);