[glib: 1/5] Add a missing 'static' on internal functions
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/5] Add a missing 'static' on internal functions
- Date: Thu, 10 Jun 2010 17:54:56 +0000 (UTC)
commit daa1a73c752e66d53de6016a9baa2be14d59af61
Author: Ryan Lortie <desrt desrt ca>
Date: Thu Apr 22 15:44:54 2010 -0400
Add a missing 'static' on internal functions
gvdb-builder.c | 2 +-
gvdb-reader.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gvdb-builder.c b/gvdb-builder.c
index 7cca13f..fd23064 100644
--- a/gvdb-builder.c
+++ b/gvdb-builder.c
@@ -178,7 +178,7 @@ typedef struct
gint n_buckets;
} HashTable;
-HashTable *
+static HashTable *
hash_table_new (gint n_buckets)
{
HashTable *table;
diff --git a/gvdb-reader.c b/gvdb-reader.c
index 2bec7dc..db4a18a 100644
--- a/gvdb-reader.c
+++ b/gvdb-reader.c
@@ -241,7 +241,7 @@ gvdb_table_check_name (GvdbTable *file,
return FALSE;
}
-const struct gvdb_hash_item *
+static const struct gvdb_hash_item *
gvdb_table_lookup (GvdbTable *file,
const gchar *key,
gchar type)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]