From e192d7d3242cf00b598116b3277bd514af69fb74 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 10 Apr 2011 23:04:34 -0700 Subject: [PATCH] * atimer.c (alarm_signal_handler, run_all_atimers): Now static. * atimer.h (run_all_atimers): Removed; not exported. --- src/ChangeLog | 3 +++ src/atimer.c | 6 +++--- src/atimer.h | 2 -- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index a794eb9eb90..35712e47520 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2011-04-11 Paul Eggert + * atimer.c (alarm_signal_handler, run_all_atimers): Now static. + * atimer.h (run_all_atimers): Removed; not exported. + font.c: Make copy_font_spec and merge_font_spec ordinary C functions. * font.c (copy_font_spec): Rename from Fcopy_font_spec, since it was inaccessible from Lisp. diff --git a/src/atimer.c b/src/atimer.c index b947ea59ccd..a54b397f52e 100644 --- a/src/atimer.c +++ b/src/atimer.c @@ -64,7 +64,7 @@ static void set_alarm (void); static void schedule_atimer (struct atimer *); static struct atimer *append_atimer_lists (struct atimer *, struct atimer *); -void alarm_signal_handler (int signo); +static void alarm_signal_handler (int signo); /* Start a new atimer of type TYPE. TIME specifies when the timer is @@ -246,7 +246,7 @@ stop_other_atimers (struct atimer *t) /* Run all timers again, if some have been stopped with a call to stop_other_atimers. */ -void +static void run_all_atimers (void) { if (stopped_atimers) @@ -270,7 +270,7 @@ run_all_atimers (void) } -/* A version of run_all_timers suitable for a record_unwind_protect. */ +/* A version of run_all_atimers suitable for a record_unwind_protect. */ Lisp_Object unwind_stop_other_atimers (Lisp_Object dummy) diff --git a/src/atimer.h b/src/atimer.h index 798181fcd7f..8035681b225 100644 --- a/src/atimer.h +++ b/src/atimer.h @@ -76,8 +76,6 @@ void do_pending_atimers (void); void init_atimer (void); void turn_on_atimers (int); void stop_other_atimers (struct atimer *); -void run_all_atimers (void); Lisp_Object unwind_stop_other_atimers (Lisp_Object); #endif /* EMACS_ATIMER_H */ - -- 2.39.2