diff options
Diffstat (limited to 'lib-src/profile.c')
| -rw-r--r-- | lib-src/profile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib-src/profile.c b/lib-src/profile.c index 0347350a799..37653e63c49 100644 --- a/lib-src/profile.c +++ b/lib-src/profile.c | |||
| @@ -40,7 +40,7 @@ static char time_string[30]; | |||
| 40 | /* Reset the stopwatch to zero. */ | 40 | /* Reset the stopwatch to zero. */ |
| 41 | 41 | ||
| 42 | void | 42 | void |
| 43 | reset_watch () | 43 | reset_watch (void) |
| 44 | { | 44 | { |
| 45 | EMACS_GET_TIME (TV1); | 45 | EMACS_GET_TIME (TV1); |
| 46 | watch_not_started = 0; | 46 | watch_not_started = 0; |
| @@ -51,7 +51,7 @@ reset_watch () | |||
| 51 | If reset_watch was not called yet, exit. */ | 51 | If reset_watch was not called yet, exit. */ |
| 52 | 52 | ||
| 53 | char * | 53 | char * |
| 54 | get_time () | 54 | get_time (void) |
| 55 | { | 55 | { |
| 56 | if (watch_not_started) | 56 | if (watch_not_started) |
| 57 | exit (EXIT_FAILURE); /* call reset_watch first ! */ | 57 | exit (EXIT_FAILURE); /* call reset_watch first ! */ |
| @@ -79,7 +79,7 @@ gettimeofday (tp, tzp) | |||
| 79 | #endif | 79 | #endif |
| 80 | 80 | ||
| 81 | int | 81 | int |
| 82 | main () | 82 | main (void) |
| 83 | { | 83 | { |
| 84 | int c; | 84 | int c; |
| 85 | while ((c = getchar ()) != EOF) | 85 | while ((c = getchar ()) != EOF) |