diff options
| author | Stefan Monnier | 2010-07-23 17:23:09 +0200 |
|---|---|---|
| committer | Stefan Monnier | 2010-07-23 17:23:09 +0200 |
| commit | 0ee81a0ce066375eac701c06cdfbdebefe594fdc (patch) | |
| tree | f0dccd24163316cfe688f927681a3032a9b1fe2f /lib-src/profile.c | |
| parent | 894e369ddf48e191638b8e66ce732f24ff9abe2a (diff) | |
| parent | 94da839793affa2a270bc26cee9c4d95d4dc4708 (diff) | |
| download | emacs-0ee81a0ce066375eac701c06cdfbdebefe594fdc.tar.gz emacs-0ee81a0ce066375eac701c06cdfbdebefe594fdc.zip | |
Merge from trunk
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) |