diff options
author | root <root@fedora-arm.domain.avtechpulse.com> | 1999-12-31 20:02:24 -0500 |
---|---|---|
committer | root <root@fedora-arm.domain.avtechpulse.com> | 1999-12-31 20:02:24 -0500 |
commit | 22d19c0d2a9d56ad560b44cfcb65b69bf4ca278c (patch) | |
tree | f9441bbf2843b341c1f2c875f1801b0af0b65241 /globals.c | |
parent | 4d3d806f59d13d8965fd0488cf63fc4aca7553d9 (diff) |
startup timer
Diffstat (limited to 'globals.c')
-rw-r--r-- | globals.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,4 +1,5 @@ #include "globals.h" +#include <time.h> GlobalStruct globals = { .error_queue = {0}, @@ -10,3 +11,9 @@ GlobalStruct globals = { .ques_enable_register = 0, .flash_writes_suspended = 0 }; + + +long sec_timer (void) +{ + return (long)time(NULL); +} |