commit 3a16bc5d10ca99f67bcde9b9052c40c6d5445874
parent 41f946290c30c0d58f5ae26ba7cdd65b352d3046
Author: sin <sin@2f30.org>
Date: Sun, 28 Sep 2014 13:13:20 +0100
No need to name parameters
Diffstat:
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/smdev.c b/smdev.c
@@ -53,15 +53,14 @@ struct rulepath {
};
static int dohotplug(void);
-static int matchrule(int ruleidx, char *devname);
-static void runrulecmd(struct rule *rule);
-static void parsepath(struct rule *rule, struct rulepath *rpath,
- const char *devname);
-static int removedev(struct event *ev);
-static int createdev(struct event *ev);
-static int doevent(struct event *ev);
-static int craftev(char *sysfspath);
-static void populatedev(const char *path);
+static int matchrule(int, char *);
+static void runrulecmd(struct rule *);
+static void parsepath(struct rule *, struct rulepath *, const char *);
+static int removedev(struct event *);
+static int createdev(struct event *);
+static int doevent(struct event *);
+static int craftev(char *);
+static void populatedev(const char *);
static int ifrename(void);
static void