aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorDan Nicolaescu2010-07-05 09:29:35 -0700
committerDan Nicolaescu2010-07-05 09:29:35 -0700
commitd2aa42f8be4756cf4efc96b975bb6db9c0bdff94 (patch)
tree6d899bc468ac6031b5aec1f4528344a495a67f26 /src/keyboard.c
parentd3da34e0dab1404e80dba5413b3c449a6ea8fa0c (diff)
downloademacs-d2aa42f8be4756cf4efc96b975bb6db9c0bdff94.tar.gz
emacs-d2aa42f8be4756cf4efc96b975bb6db9c0bdff94.zip
Convert function definitions and declarations to standard C.
* src/vm-limit.c (memory_warnings): * src/keyboard.c (modify_event_symbol): * src/floatfns.c (rounding_driver, ceiling2, floor2, truncate2) (round2, emacs_rint): * src/process.c (send_process, old_sigpipe): Convert function definitions and declarations to standard C.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 069ff4993d9..001ae9f7cef 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -528,8 +528,6 @@ EMACS_TIME timer_check (int do_it_now);
528 528
529extern Lisp_Object Vhistory_length, Vtranslation_table_for_input; 529extern Lisp_Object Vhistory_length, Vtranslation_table_for_input;
530 530
531extern char *x_get_keysym_name ();
532
533static void record_menu_key (Lisp_Object c); 531static void record_menu_key (Lisp_Object c);
534static int echo_length (void); 532static int echo_length (void);
535 533
@@ -611,7 +609,7 @@ Lisp_Object Venable_disabled_menus_and_buttons;
611#define READABLE_EVENTS_IGNORE_SQUEEZABLES (1 << 2) 609#define READABLE_EVENTS_IGNORE_SQUEEZABLES (1 << 2)
612 610
613/* Function for init_keyboard to call with no args (if nonzero). */ 611/* Function for init_keyboard to call with no args (if nonzero). */
614void (*keyboard_init_hook) (); 612void (*keyboard_init_hook) (void);
615 613
616static int read_avail_input (int); 614static int read_avail_input (int);
617static void get_input_pending (int *, int); 615static void get_input_pending (int *, int);
@@ -6583,6 +6581,7 @@ modify_event_symbol (int symbol_num, unsigned int modifiers, Lisp_Object symbol_
6583#ifdef HAVE_WINDOW_SYSTEM 6581#ifdef HAVE_WINDOW_SYSTEM
6584 if (NILP (value)) 6582 if (NILP (value))
6585 { 6583 {
6584 extern char *x_get_keysym_name (KeySym keysym);
6586 char *name = x_get_keysym_name (symbol_num); 6585 char *name = x_get_keysym_name (symbol_num);
6587 if (name) 6586 if (name)
6588 value = intern (name); 6587 value = intern (name);