]> git.tuebingen.mpg.de Git - adu.git/commitdiff
Make close_all_tables() static.
authorAndre Noll <maan@systemlinux.org>
Tue, 11 Nov 2008 20:58:33 +0000 (21:58 +0100)
committerAndre Noll <maan@systemlinux.org>
Tue, 11 Nov 2008 20:58:33 +0000 (21:58 +0100)
It's only used in adu.c.

adu.c
adu.h

diff --git a/adu.c b/adu.c
index dda9fd24ccd33fa1875d0a8f2e8a33d02ba2d723..bc0689320ffe1823da87e04f7682d5648f51a3f8 100644 (file)
--- a/adu.c
+++ b/adu.c
@@ -120,7 +120,7 @@ static void close_dir_table(void)
        dir_table = NULL;
 }
 
-void close_all_tables(void)
+static void close_all_tables(void)
 {
        close_dir_table();
        close_user_tables();
diff --git a/adu.h b/adu.h
index 74083ec3f3eb6e849a2b2294af99aefb99f384b0..31050444a6ef74dc8790b003c0376a49a78334aa 100644 (file)
--- a/adu.h
+++ b/adu.h
@@ -196,7 +196,6 @@ static inline int size_compare(const struct osl_object *obj1, const struct osl_o
 __printf_2_3 void __log(int, const char*, ...);
 int open_dir_table(int create);
 void check_signals(void);
-void close_all_tables(void);
 /* create.c */
 int com_create(void);