From: Philip Chimento Date: Tue, 26 May 2009 20:23:21 +0000 (+0000) Subject: Made sure no internal symbols were exported; can be checked with 'nm -g --defined... X-Git-Url: https://git.stderr.nl/gitweb?p=rodin%2Fchimara.git;a=commitdiff_plain;h=eb3f9ee12bbfee60b165430910a300d225ba9326 Made sure no internal symbols were exported; can be checked with 'nm -g --defined-only .libs/libchimara.so'. git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@96 ddfedd41-794f-dd11-ae45-00112f111e67 --- diff --git a/libchimara/glk.c b/libchimara/glk.c index c4f3954..d96c951 100644 --- a/libchimara/glk.c +++ b/libchimara/glk.c @@ -6,7 +6,7 @@ #include "chimara-glk-private.h" #include "gi_blorb.h" -ChimaraGlkPrivate *glk_data = NULL; +G_GNUC_INTERNAL ChimaraGlkPrivate *glk_data = NULL; /** * glk_exit: diff --git a/libchimara/glkunix.h b/libchimara/glkunix.h index 291610e..2028db2 100644 --- a/libchimara/glkunix.h +++ b/libchimara/glkunix.h @@ -4,6 +4,6 @@ #include #include -gboolean parse_command_line(glkunix_argumentlist_t glkunix_arguments[], int argc, char *argv[], glkunix_startup_t *data); +G_GNUC_INTERNAL gboolean parse_command_line(glkunix_argumentlist_t glkunix_arguments[], int argc, char *argv[], glkunix_startup_t *data); #endif \ No newline at end of file diff --git a/libchimara/style.c b/libchimara/style.c index 77ef158..698536f 100644 --- a/libchimara/style.c +++ b/libchimara/style.c @@ -23,7 +23,7 @@ glk_set_style(glui32 styl) } /* Internal function: mapping from style enum to tag name */ -gchar* +static gchar * get_tag_name(glui32 style) { switch(style) { @@ -75,7 +75,7 @@ style_init_textbuffer(GtkTextBuffer *buffer) gtk_text_buffer_create_tag(buffer, "user2", NULL); } -void +static void color_format(glui32 val, gchar *buffer) { sprintf(buffer, "#%02X%02X%02X", @@ -86,7 +86,7 @@ color_format(glui32 val, gchar *buffer) } /* Internal function: changes a GTK tag to correspond with the given style. */ -void +static void apply_stylehint_to_tag(GtkTextTag *tag, glui32 hint, glsi32 val) { g_return_if_fail(tag != NULL);