From: fliep Date: Fri, 22 May 2009 23:04:05 +0000 (+0000) Subject: Eliminated warnings about static functions declared with G_GNUC_INTERNAL X-Git-Tag: v0.9~391 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=91214934fbcdfd363202a65c142194506604ff7b;p=projects%2Fchimara%2Fchimara.git Eliminated warnings about static functions declared with G_GNUC_INTERNAL --- diff --git a/src/input.c b/src/input.c index 81b1664..18a7ecb 100644 --- a/src/input.c +++ b/src/input.c @@ -2,6 +2,10 @@ #include "magic.h" #include "input.h" +/* Forward declarations */ +static int flush_text_buffer(winid_t win); +static int flush_text_grid(winid_t win); + /** * glk_request_char_event: * @win: A window to request char events from. diff --git a/src/input.h b/src/input.h index 14685e3..e4080fd 100644 --- a/src/input.h +++ b/src/input.h @@ -12,7 +12,5 @@ G_GNUC_INTERNAL gboolean on_window_key_press_event(GtkWidget *widget, GdkEventKey *event, winid_t win); G_GNUC_INTERNAL void after_window_insert_text(GtkTextBuffer *textbuffer, GtkTextIter *location, gchar *text, gint len, winid_t win); G_GNUC_INTERNAL void on_input_entry_activate(GtkEntry *input_entry, winid_t win); -G_GNUC_INTERNAL static int flush_text_buffer(winid_t win); -G_GNUC_INTERNAL static int flush_text_grid(winid_t win); #endif