From: Paul Eggert Date: Thu, 23 Aug 2012 08:27:08 +0000 (-0700) Subject: * atimer.c, atimer.h (turn_on_atimers): Use bool for boolean. X-Git-Tag: emacs-24.2.90~531 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b1bb8011dbb71df0eae4d041dbf28621bc37e44c;p=emacs.git * atimer.c, atimer.h (turn_on_atimers): Use bool for boolean. * atimer.h: Include . --- diff --git a/src/ChangeLog b/src/ChangeLog index bb1e694825a..3f6f6a272f0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2012-08-23 Paul Eggert + + * atimer.c, atimer.h (turn_on_atimers): Use bool for boolean. + * atimer.h: Include . + 2012-08-22 Dan Nicolaescu * 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) some systems like HPUX (see process.c). */ void -turn_on_atimers (int on) +turn_on_atimers (bool on) { if (on) { 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 . */ #define EMACS_ATIMER_H #include "systime.h" /* for EMACS_TIME */ +#include /* Forward declaration. */ @@ -74,7 +75,7 @@ struct atimer *start_atimer (enum atimer_type, EMACS_TIME, void cancel_atimer (struct atimer *); void do_pending_atimers (void); void init_atimer (void); -void turn_on_atimers (int); +void turn_on_atimers (bool); void stop_other_atimers (struct atimer *); Lisp_Object unwind_stop_other_atimers (Lisp_Object);