Made sure no internal symbols were exported; can be checked with 'nm -g --defined...
authorPhilip Chimento <philip.chimento@gmail.com>
Tue, 26 May 2009 20:23:21 +0000 (20:23 +0000)
committerPhilip Chimento <philip.chimento@gmail.com>
Tue, 26 May 2009 20:23:21 +0000 (20:23 +0000)
git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@96 ddfedd41-794f-dd11-ae45-00112f111e67

libchimara/glk.c
libchimara/glkunix.h
libchimara/style.c

index c4f395441de42e7331bdc3cb3bf4be1bc9236ee7..d96c951bc19a8270b731b8b9c306117814c30f88 100644 (file)
@@ -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:
index 291610e94c6fef0c8c810bfed34d96e52d57b3bf..2028db24c88c452ab9a35b05ac776a30f82ef476 100644 (file)
@@ -4,6 +4,6 @@
 #include <glib.h>
 #include <libchimara/glkstart.h>
 
-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
index 77ef15809202bd18cdf08ec460d14c77e189a22b..698536f101f29417d98ecfacb75ae540e498b17e 100644 (file)
@@ -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);