]> git.eshelyaron.com Git - emacs.git/commitdiff
* atimer.c, atimer.h (turn_on_atimers): Use bool for boolean.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 23 Aug 2012 08:27:08 +0000 (01:27 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 23 Aug 2012 08:27:08 +0000 (01:27 -0700)
* atimer.h: Include <stdbool.h>.

src/ChangeLog
src/atimer.c
src/atimer.h

index bb1e694825a437176670232eafed419b79700d10..3f6f6a272f005d51f38af1f3bb5376689057d05c 100644 (file)
@@ -1,3 +1,8 @@
+2012-08-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * atimer.c, atimer.h (turn_on_atimers): Use bool for boolean.
+       * atimer.h: Include <stdbool.h>.
+
 2012-08-22  Dan Nicolaescu  <dann@gnu.org>
 
        * frame.h (FRAME_W32_P, FRAME_MSDOS_P, FRAME_NS_P): Change to
index d67e1375f9a742a972ea4c2f7b60527576983c82..eb3136ae55d86323120a65bdb5cd6c0529aa0b65 100644 (file)
@@ -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)
     {
index 4282bab49bae156ee7bd69fc8e30c9eb2e44e10c..6d441d71641faad8a23199688486637be6cf3605 100644 (file)
@@ -20,6 +20,7 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #define EMACS_ATIMER_H
 
 #include "systime.h"           /* for EMACS_TIME */
+#include <stdbool.h>
 
 /* 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);