summaryrefslogtreecommitdiffstats
path: root/src/filegen.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-02-01 20:57:12 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-02-01 20:57:12 +0100
commitc06ebfc5f2e463ac815647c7afb83e122efd7d4d (patch)
treea582d9e424b059ef0835bd74051f9abb126b0f1a /src/filegen.c
parentc4f158b6ffc7460b036abf233131e22a0daaf8d8 (diff)
Define as static some functions
Diffstat (limited to 'src/filegen.c')
-rw-r--r--src/filegen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/filegen.c b/src/filegen.c
index 2a615b3..f72d89d 100644
--- a/src/filegen.c
+++ b/src/filegen.c
@@ -46,6 +46,8 @@ file_check_list_t file_check_list={
.list = TD_LIST_HEAD_INIT(file_check_list.list)
};
+static void index_header_check(void);
+
static int file_check_cmp(const struct td_list_head *a, const struct td_list_head *b)
{
const file_check_t *fc_a=td_list_entry(a, const file_check_t, list);
@@ -120,7 +122,7 @@ static void index_header_check_aux(file_check_t *file_check_new)
file_check_add_tail(file_check_new, &file_check_list);
}
-void index_header_check(void)
+static void index_header_check(void)
{
struct td_list_head *tmp;
struct td_list_head *next;