From 64421e638353137fdab10c37cf9b055e93dbf112 Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Sun, 2 Oct 2005 19:09:20 +0000 Subject: [PATCH] Conflict symbols are now static When linking first and item, a symbol conflict for the function for getting a list from the keys in a hash. They are static now, which solves the problem. git-archimport-id: cascardo@tlscascardo--private/libgrammatic--dev--0.1--patch-18 --- first.c | 2 +- item.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/first.c b/first.c index cd3f524..e3af868 100644 --- a/first.c +++ b/first.c @@ -474,7 +474,7 @@ GHashTable* grammar_first (Grammar* grammar) return first; } -void put_key_on_list (gpointer key, gpointer val, gpointer data) +static void put_key_on_list (gpointer key, gpointer val, gpointer data) { GList** l; l = (GList**) data; diff --git a/item.c b/item.c index 1d7a9e4..9c05e06 100644 --- a/item.c +++ b/item.c @@ -109,7 +109,7 @@ gboolean item_set_add (GHashTable* item_set, item_t* item) return FALSE; } -void put_key_on_list (gpointer key, gpointer val, gpointer data) +static void put_key_on_list (gpointer key, gpointer val, gpointer data) { GList** l; l = (GList**) data; -- 2.20.1