diff options
| author | Paul Eggert | 2012-08-23 01:27:08 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-08-23 01:27:08 -0700 |
| commit | b1bb8011dbb71df0eae4d041dbf28621bc37e44c (patch) | |
| tree | da0b99f975def059d7f1e6a69b6c0b7124bc4912 /src | |
| parent | d1c0d176e8dc7e7e72d7e029b4c14d7dcc4eb9ec (diff) | |
| download | emacs-b1bb8011dbb71df0eae4d041dbf28621bc37e44c.tar.gz emacs-b1bb8011dbb71df0eae4d041dbf28621bc37e44c.zip | |
* atimer.c, atimer.h (turn_on_atimers): Use bool for boolean.
* atimer.h: Include <stdbool.h>.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/atimer.c | 2 | ||||
| -rw-r--r-- | src/atimer.h | 3 |
3 files changed, 8 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index bb1e694825a..3f6f6a272f0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-08-23 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * atimer.c, atimer.h (turn_on_atimers): Use bool for boolean. | ||
| 4 | * atimer.h: Include <stdbool.h>. | ||
| 5 | |||
| 1 | 2012-08-22 Dan Nicolaescu <dann@gnu.org> | 6 | 2012-08-22 Dan Nicolaescu <dann@gnu.org> |
| 2 | 7 | ||
| 3 | * frame.h (FRAME_W32_P, FRAME_MSDOS_P, FRAME_NS_P): Change to | 8 | * frame.h (FRAME_W32_P, FRAME_MSDOS_P, FRAME_NS_P): Change to |
diff --git a/src/atimer.c b/src/atimer.c index d67e1375f9a..eb3136ae55d 100644 --- a/src/atimer.c +++ b/src/atimer.c | |||
| @@ -408,7 +408,7 @@ do_pending_atimers (void) | |||
| 408 | some systems like HPUX (see process.c). */ | 408 | some systems like HPUX (see process.c). */ |
| 409 | 409 | ||
| 410 | void | 410 | void |
| 411 | turn_on_atimers (int on) | 411 | turn_on_atimers (bool on) |
| 412 | { | 412 | { |
| 413 | if (on) | 413 | if (on) |
| 414 | { | 414 | { |
diff --git a/src/atimer.h b/src/atimer.h index 4282bab49ba..6d441d71641 100644 --- a/src/atimer.h +++ b/src/atimer.h | |||
| @@ -20,6 +20,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 20 | #define EMACS_ATIMER_H | 20 | #define EMACS_ATIMER_H |
| 21 | 21 | ||
| 22 | #include "systime.h" /* for EMACS_TIME */ | 22 | #include "systime.h" /* for EMACS_TIME */ |
| 23 | #include <stdbool.h> | ||
| 23 | 24 | ||
| 24 | /* Forward declaration. */ | 25 | /* Forward declaration. */ |
| 25 | 26 | ||
| @@ -74,7 +75,7 @@ struct atimer *start_atimer (enum atimer_type, EMACS_TIME, | |||
| 74 | void cancel_atimer (struct atimer *); | 75 | void cancel_atimer (struct atimer *); |
| 75 | void do_pending_atimers (void); | 76 | void do_pending_atimers (void); |
| 76 | void init_atimer (void); | 77 | void init_atimer (void); |
| 77 | void turn_on_atimers (int); | 78 | void turn_on_atimers (bool); |
| 78 | void stop_other_atimers (struct atimer *); | 79 | void stop_other_atimers (struct atimer *); |
| 79 | Lisp_Object unwind_stop_other_atimers (Lisp_Object); | 80 | Lisp_Object unwind_stop_other_atimers (Lisp_Object); |
| 80 | 81 | ||