Fix -Wuh and -Wnhu options so that they work.
[deliverable/binutils-gdb.git] / gdb / event-loop.h
index 6076254d7cbfb426ee2570ba31e60bb748fe63dd..5debe0f2e694174d81c4827f7b36f4e1ef67dda0 100644 (file)
@@ -24,7 +24,9 @@
 #include <signal.h>
 #include <unistd.h>
 #include <fcntl.h>
+#ifdef HAVE_SYS_WAIT_H
 #include <sys/wait.h>
+#endif
 #include "defs.h"
 
 /* An event loop listens for events from multiple event sources. When
@@ -231,6 +233,8 @@ struct prompts
 #define PREFIX(X) the_prompts.prompt_stack[the_prompts.top + X].prefix
 #define SUFFIX(X) the_prompts.prompt_stack[the_prompts.top + X].suffix
 
+/* Exported functions from event-top.c */
+
 extern void delete_file_handler PARAMS ((int));
 extern void 
   create_file_handler PARAMS ((int, int, file_handler_func, gdb_client_data));
@@ -238,4 +242,19 @@ extern int gdb_do_one_event PARAMS ((void));
 extern void mark_async_signal_handler PARAMS ((async_signal_handler *));
 extern async_signal_handler *
   create_async_signal_handler PARAMS ((async_handler_func *, gdb_client_data));
+extern void delete_async_signal_handler PARAMS ((async_signal_handler *async_handler_ptr));
+extern void display_gdb_prompt PARAMS ((char*));
+extern void start_event_loop PARAMS ((void));
+extern void async_init_signals PARAMS ((void));
+extern void set_async_editing_command PARAMS ((char *, int, struct cmd_list_element *));
+extern void set_async_annotation_level PARAMS ((char *, int, struct cmd_list_element *));
+extern void set_async_prompt PARAMS ((char *, int, struct cmd_list_element *));
+extern void handle_stop_sig PARAMS ((int));
+
+/* Exported variables from event-top.c */
+
+extern int async_command_editing_p;
+extern char *async_annotation_suffix;
+extern char *new_async_prompt;
+extern struct prompts the_prompts;
 
This page took 0.022888 seconds and 4 git commands to generate.