[hackers] [smdev] No need to name parameters || sin

From: <git_AT_suckless.org>
Date: Sun, 28 Sep 2014 14:13:35 +0200

commit f7f1f9c2bac6cf9dfef71df7b88f1e326adca245
Author: sin <sin_AT_2f30.org>
Date: Sun Sep 28 13:13:20 2014 +0100

    No need to name parameters

diff --git a/smdev.c b/smdev.c
index 977cde3..b774908 100644
--- a/smdev.c
+++ b/smdev.c
_AT_@ -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
Received on Sun Sep 28 2014 - 14:13:35 CEST

This archive was generated by hypermail 2.3.0 : Sun Sep 28 2014 - 14:24:08 CEST