diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-10-24 01:30:28 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-10-25 10:58:52 +0100 |
commit | 4a0fbe37a9879ade6a6bf99ab105316284eb4102 (patch) | |
tree | fa8ff23476261404040a9b6326dc7b5b432534df /extensions/libipt_realm.c | |
parent | 22bdd6966f2c3ccded984a37ba0b97470bcf9323 (diff) |
realm: remove static initializations
Save a little disk space, they are initialized to zero anyway.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libipt_realm.c')
-rw-r--r-- | extensions/libipt_realm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/extensions/libipt_realm.c b/extensions/libipt_realm.c index c9e17601..be1943ed 100644 --- a/extensions/libipt_realm.c +++ b/extensions/libipt_realm.c @@ -35,10 +35,9 @@ struct realmname { }; /* array of realms from /etc/iproute2/rt_realms */ -static struct realmname *realms = NULL; +static struct realmname *realms; /* 1 if loading failed */ -static int rdberr = 0; - +static int rdberr; static void load_realms(void) { |