emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r109758: * atimer.c, atimer.h (turn_o


From: Paul Eggert
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r109758: * atimer.c, atimer.h (turn_on_atimers): Use bool for boolean.
Date: Thu, 23 Aug 2012 01:27:08 -0700
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 109758
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Thu 2012-08-23 01:27:08 -0700
message:
  * atimer.c, atimer.h (turn_on_atimers): Use bool for boolean.
  
  * atimer.h: Include <stdbool.h>.
modified:
  src/ChangeLog
  src/atimer.c
  src/atimer.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-08-22 16:05:04 +0000
+++ b/src/ChangeLog     2012-08-23 08:27:08 +0000
@@ -1,3 +1,8 @@
+2012-08-23  Paul Eggert  <address@hidden>
+
+       * atimer.c, atimer.h (turn_on_atimers): Use bool for boolean.
+       * atimer.h: Include <stdbool.h>.
+
 2012-08-22  Dan Nicolaescu  <address@hidden>
 
        * frame.h (FRAME_W32_P, FRAME_MSDOS_P, FRAME_NS_P): Change to

=== modified file 'src/atimer.c'
--- a/src/atimer.c      2012-07-10 23:24:36 +0000
+++ b/src/atimer.c      2012-08-23 08:27:08 +0000
@@ -408,7 +408,7 @@
    some systems like HPUX (see process.c).  */
 
 void
-turn_on_atimers (int on)
+turn_on_atimers (bool on)
 {
   if (on)
     {

=== modified file 'src/atimer.h'
--- a/src/atimer.h      2012-01-19 07:21:25 +0000
+++ b/src/atimer.h      2012-08-23 08:27:08 +0000
@@ -20,6 +20,7 @@
 #define EMACS_ATIMER_H
 
 #include "systime.h"           /* for EMACS_TIME */
+#include <stdbool.h>
 
 /* Forward declaration.  */
 
@@ -74,7 +75,7 @@
 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);
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]