smdev

suckless mdev
git clone git://git.2f30.org/smdev.git
Log | Files | Refs | README | LICENSE

commit 3a16bc5d10ca99f67bcde9b9052c40c6d5445874
parent 41f946290c30c0d58f5ae26ba7cdd65b352d3046
Author: sin <sin@2f30.org>
Date:   Sun Sep 28 13:13:20 +0100

No need to name parameters

Diffstat:
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