summaryrefslogtreecommitdiff
path: root/src/keyboard.h
diff options
context:
space:
mode:
authorJan D <jan.h.d@swipnet.se>2010-08-06 13:28:59 +0200
committerJan D <jan.h.d@swipnet.se>2010-08-06 13:28:59 +0200
commit7908fb6097f81219d3f42a68d4d8d43583109b14 (patch)
tree42ac7527868ead4844b9ed70fa568e1432c28afb /src/keyboard.h
parent4094bf3679e9b64b2c4018edd1ba7e3d63f8d862 (diff)
downloademacs-7908fb6097f81219d3f42a68d4d8d43583109b14.tar.gz
emacs-7908fb6097f81219d3f42a68d4d8d43583109b14.tar.bz2
emacs-7908fb6097f81219d3f42a68d4d8d43583109b14.zip
More undeclared function fixes and add -Wimplicit-function-declaration.
If a function returns Lisp_Object it must be declared, otherwise on a 64-bit system, it will return just 32 bits (int). * configure.in: Use -Wimplicit-function-declaration if compiler supports it. * src/keyboard.h (poll_for_input_1): Unconditionally declare. * src/xterm.h (x_get_focus_frame): Declare.
Diffstat (limited to 'src/keyboard.h')
-rw-r--r--src/keyboard.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/keyboard.h b/src/keyboard.h
index 48d7f1468d9..9ef558fc4e1 100644
--- a/src/keyboard.h
+++ b/src/keyboard.h
@@ -515,9 +515,7 @@ extern void kbd_buffer_store_event (struct input_event *);
extern void kbd_buffer_store_event_hold (struct input_event *,
struct input_event *);
extern void kbd_buffer_unget_event (struct input_event *);
-#ifdef POLL_FOR_INPUT
extern void poll_for_input_1 (void);
-#endif
extern void show_help_echo (Lisp_Object, Lisp_Object, Lisp_Object,
Lisp_Object, int);
extern void gen_help_event (Lisp_Object, Lisp_Object, Lisp_Object,