summaryrefslogtreecommitdiff
path: root/udev/udev_rules_parse.c
diff options
context:
space:
mode:
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>2008-09-01 19:46:19 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-01 19:46:19 +0200
commit0d1c29c3d143232dfedf0881524bb2ef803c3067 (patch)
treef2fe52025f34599e69376a6ee551d187fa0434d2 /udev/udev_rules_parse.c
parent11d543c1ee886ef30c3ef66d7176149d0b126fa5 (diff)
do not needlessly declare some local variables in udev_rules_parse.c as static
Diffstat (limited to 'udev/udev_rules_parse.c')
-rw-r--r--udev/udev_rules_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/udev_rules_parse.c b/udev/udev_rules_parse.c
index 705b3feb04..90b139be4b 100644
--- a/udev/udev_rules_parse.c
+++ b/udev/udev_rules_parse.c
@@ -41,7 +41,7 @@ void udev_rules_iter_init(struct udev_rules *rules)
struct udev_rule *udev_rules_iter_next(struct udev_rules *rules)
{
- static struct udev_rule *rule;
+ struct udev_rule *rule;
if (!rules)
return NULL;
@@ -61,7 +61,7 @@ struct udev_rule *udev_rules_iter_next(struct udev_rules *rules)
struct udev_rule *udev_rules_iter_label(struct udev_rules *rules, const char *label)
{
- static struct udev_rule *rule;
+ struct udev_rule *rule;
size_t start = rules->current;
next: