use named parameter for func prototype
authorNRK <nrk@disroot.org>
Thu, 14 Jul 2022 01:27:34 +0000 (07:27 +0600)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Fri, 15 Jul 2022 18:53:56 +0000 (20:53 +0200)
all the other prototypes use names.

dwm.c

diff --git a/dwm.c b/dwm.c
index 5646a5c6c818fd50c110c5750d324020b1c6b257..b3c43eeb23a693a4e734a945cdf3aa31a6d51b86 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -185,7 +185,7 @@ static void monocle(Monitor *m);
 static void motionnotify(XEvent *e);
 static void movemouse(const Arg *arg);
 static Client *nexttiled(Client *c);
-static void pop(Client *);
+static void pop(Client *c);
 static void propertynotify(XEvent *e);
 static void quit(const Arg *arg);
 static Monitor *recttomon(int x, int y, int w, int h);
@@ -209,7 +209,7 @@ static void sigchld(int unused);
 static void spawn(const Arg *arg);
 static void tag(const Arg *arg);
 static void tagmon(const Arg *arg);
-static void tile(Monitor *);
+static void tile(Monitor *m);
 static void togglebar(const Arg *arg);
 static void togglefloating(const Arg *arg);
 static void toggletag(const Arg *arg);