diff options
Diffstat (limited to 'src/time/clock.c')
| -rw-r--r-- | src/time/clock.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/time/clock.c b/src/time/clock.c index 5ba6dce8..7f129e83 100644 --- a/src/time/clock.c +++ b/src/time/clock.c @@ -1,11 +1,12 @@ -#if 0 - #include <time.h> +#include "_safety.h" +#undef clock /** get processor time **/ clock_t clock(void) { + SIGNAL_SAFE(0); return (clock_t)-1; } @@ -20,6 +21,3 @@ RETURN_FAILURE(CAST(TYPEDEF(clock_t), -1)) RETURN_SUCCESS(the processor time of the current program) STDC(1) */ - - -#endif |
