diff options
| author | Dan Nicolaescu | 2010-07-05 09:29:35 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-07-05 09:29:35 -0700 |
| commit | d2aa42f8be4756cf4efc96b975bb6db9c0bdff94 (patch) | |
| tree | 6d899bc468ac6031b5aec1f4528344a495a67f26 /src/keyboard.c | |
| parent | d3da34e0dab1404e80dba5413b3c449a6ea8fa0c (diff) | |
| download | emacs-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.c | 5 |
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 | ||
| 529 | extern Lisp_Object Vhistory_length, Vtranslation_table_for_input; | 529 | extern Lisp_Object Vhistory_length, Vtranslation_table_for_input; |
| 530 | 530 | ||
| 531 | extern char *x_get_keysym_name (); | ||
| 532 | |||
| 533 | static void record_menu_key (Lisp_Object c); | 531 | static void record_menu_key (Lisp_Object c); |
| 534 | static int echo_length (void); | 532 | static 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). */ |
| 614 | void (*keyboard_init_hook) (); | 612 | void (*keyboard_init_hook) (void); |
| 615 | 613 | ||
| 616 | static int read_avail_input (int); | 614 | static int read_avail_input (int); |
| 617 | static void get_input_pending (int *, int); | 615 | static 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); |