No need to name parameters - smdev - suckless mdev
(HTM) git clone git://git.suckless.org/smdev
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit f7f1f9c2bac6cf9dfef71df7b88f1e326adca245
(DIR) parent 3e1d567dc9d45cb9d655471a41a6731900d199a7
(HTM) Author: sin <sin@2f30.org>
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(-)
---
(DIR) 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