* atimer.c (alarm_signal_handler, run_all_atimers): Now static.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Apr 2011 06:04:34 +0000 (23:04 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Apr 2011 06:04:34 +0000 (23:04 -0700)
* atimer.h (run_all_atimers): Removed; not exported.

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

index a794eb9..35712e4 100644 (file)
@@ -1,5 +1,8 @@
 2011-04-11  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * 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.
index b947ea5..a54b397 100644 (file)
@@ -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)
index 798181f..8035681 100644 (file)
@@ -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 */
-