From b9dc675ac78098182c90d19ea19705c2237e323e Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net" Date: Thu, 4 Oct 2007 16:25:58 +0000 Subject: [PATCH 05/13] Constify data structures Constify more data structures. Make functions static. Signed-off-by: Jan Engelhardt --- extensions/libipt_realm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/libipt_realm.c') diff --git a/extensions/libipt_realm.c b/extensions/libipt_realm.c index 2304d68..2bd04c3 100644 --- a/extensions/libipt_realm.c +++ b/extensions/libipt_realm.c @@ -116,7 +116,7 @@ static void load_realms(void) } /* get realm id for name, -1 if error/not found */ -int realm_name2id(const char* name) +static int realm_name2id(const char* name) { struct realmname* cur; @@ -134,7 +134,7 @@ int realm_name2id(const char* name) } /* get realm name for id, NULL if error/not found */ -const char* realm_id2name(int id) +static const char *realm_id2name(int id) { struct realmname* cur; -- cgit v1.2.3