summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_realm.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2007-10-04 16:25:58 +0000
committerPatrick McHardy <kaber@trash.net>2007-10-04 16:25:58 +0000
commit0e2abed11985e16215559cefd90625f99317b96c (patch)
tree00ea59a5a5b9c0e764def3c9925a206eef809a82 /extensions/libipt_realm.c
parent278654a9aa89311eb624dc5b79b5b37d99248129 (diff)
Constify data structures
Constify more data structures. Make functions static. Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'extensions/libipt_realm.c')
-rw-r--r--extensions/libipt_realm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libipt_realm.c b/extensions/libipt_realm.c
index 2304d685..2bd04c34 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;