From 08f8444e2ae5480eea1cf7e2c1e2eb57f46152db Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Fri, 22 May 2009 23:04:05 +0000 Subject: [PATCH] Eliminated warnings about static functions declared with G_GNUC_INTERNAL git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@74 ddfedd41-794f-dd11-ae45-00112f111e67 --- src/input.c | 4 ++++ src/input.h | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) 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 -- 2.30.2