Code

wreadln: import screen_bell() from screen_utils.h
authorMax Kellermann <max@duempel.org>
Mon, 6 Oct 2008 12:34:49 +0000 (14:34 +0200)
committerMax Kellermann <max@duempel.org>
Mon, 6 Oct 2008 12:34:49 +0000 (14:34 +0200)
Don't use "extern" outside of the headers, include the proper header
instead.

src/wreadln.c

index 5962af703e631ca7eae6bd59b7fbb407ee15cf1b..edf4f702f8d3a624bdad37a10c6c7da98514130c 100644 (file)
@@ -18,6 +18,7 @@
 
 #include "wreadln.h"
 #include "charset.h"
+#include "screen_utils.h"
 #include "config.h"
 
 #include <stdlib.h>
@@ -48,9 +49,6 @@ void *wrln_completion_callback_data = NULL;
 wrln_gcmp_pre_cb_t wrln_pre_completion_callback = NULL;
 wrln_gcmp_post_cb_t wrln_post_completion_callback = NULL;
 
-extern void sigstop(void);
-extern void screen_bell(void);
-
 /* move the cursor one step to the right */
 static inline void cursor_move_right(gint *cursor,
                                     gint *start,