Make some blob functions static.
authorAndre Noll <maan@systemlinux.org>
Sat, 7 Nov 2009 13:03:36 +0000 (14:03 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 7 Nov 2009 13:03:36 +0000 (14:03 +0100)
blob.c

diff --git a/blob.c b/blob.c
index 92332272970d48bda5fa073cb4acf7c7792415ad..5ab5c1ce48fafd5ad3cbf4b0189202ef34aaa996 100644 (file)
--- a/blob.c
+++ b/blob.c
@@ -477,7 +477,7 @@ static int blob_get_name_and_def_by_row(struct osl_table *table,
 
 /** Define the \p close function for this blob type. */
 #define DEFINE_BLOB_CLOSE(table_name) \
-       void table_name ## _close(void) \
+       static void table_name ## _close(void) \
        { \
                osl_close_table(table_name ## _table, OSL_MARK_CLEAN); \
                table_name ## _table = NULL; \
@@ -485,7 +485,7 @@ static int blob_get_name_and_def_by_row(struct osl_table *table,
 
 /** Define the \p create function for this blob type. */
 #define DEFINE_BLOB_CREATE(table_name) \
-       int table_name ## _create(const char *dir) \
+       static int table_name ## _create(const char *dir) \
        { \
                table_name ## _table_desc.dir = dir; \
                return osl_create_table(&table_name ## _table_desc); \
@@ -507,7 +507,7 @@ static int blob_open(struct osl_table **table,
 }
 
 #define DEFINE_BLOB_OPEN(table_name) \
-       int table_name ## _open(const char *dir) \
+       static int table_name ## _open(const char *dir) \
        { \
                return blob_open(&table_name ## _table, \
                        &table_name ## _table_desc, dir); \