]> git.armaanb.net Git - dwm.git/commitdiff
getatomprop: Add forward declaration
authorChris Down <chris@chrisdown.name>
Wed, 22 Apr 2020 14:48:08 +0000 (15:48 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Wed, 22 Apr 2020 18:33:26 +0000 (20:33 +0200)
No functional changes, but for every other function we have a forward
declaration here. getatomprop should be no exception.

dwm.c

diff --git a/dwm.c b/dwm.c
index 41c6767d60c443e4ffe5e3519503e5d191163fd8..972f261490d190c694cd3dd7f5728003b06b70cf 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -169,6 +169,7 @@ static void focus(Client *c);
 static void focusin(XEvent *e);
 static void focusmon(const Arg *arg);
 static void focusstack(const Arg *arg);
+static Atom getatomprop(Client *c, Atom prop);
 static int getrootptr(int *x, int *y);
 static long getstate(Window w);
 static int gettextprop(Window w, Atom atom, char *text, unsigned int size);