Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b1bb8011
Commit
b1bb8011
authored
Aug 23, 2012
by
Paul Eggert
Browse files
* atimer.c, atimer.h (turn_on_atimers): Use bool for boolean.
* atimer.h: Include <stdbool.h>.
parent
d1c0d176
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
src/ChangeLog
src/ChangeLog
+5
-0
src/atimer.c
src/atimer.c
+1
-1
src/atimer.h
src/atimer.h
+2
-1
No files found.
src/ChangeLog
View file @
b1bb8011
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
...
...
src/atimer.c
View file @
b1bb8011
...
...
@@ -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
)
{
...
...
src/atimer.h
View file @
b1bb8011
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment