No need to name parameters - smdev - suckless mdev | |
git clone git://git.suckless.org/smdev | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit f7f1f9c2bac6cf9dfef71df7b88f1e326adca245 | |
parent 3e1d567dc9d45cb9d655471a41a6731900d199a7 | |
Author: sin <[email protected]> | |
Date: Sun, 28 Sep 2014 13:13:20 +0100 | |
No need to name parameters | |
Diffstat: | |
M smdev.c | 17 ++++++++--------- | |
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 |