1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 03:20:39 -08:00

* atimer.c, atimer.h (turn_on_atimers): Use bool for boolean.

* atimer.h: Include <stdbool.h>.
This commit is contained in:
Paul Eggert 2012-08-23 01:27:08 -07:00
parent d1c0d176e8
commit b1bb8011db
3 changed files with 8 additions and 2 deletions

View 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

View 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)
{

View 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);