about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorChris Down <chris@chrisdown.name>2020-04-22 15:48:08 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2020-04-22 20:33:26 +0200
commitf087d20e6e60a49c756936b4312f5d194d8e63b4 (patch)
treecbdaef3f7de05e6e69dbea2c99f2dfddbc6c6177
parenta8e9513783f335b1ac7255e40a663adfffc4b475 (diff)
downloaddwm-f087d20e6e60a49c756936b4312f5d194d8e63b4.tar.gz
getatomprop: Add forward declaration
No functional changes, but for every other function we have a forward
declaration here. getatomprop should be no exception.
-rw-r--r--dwm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index 41c6767..972f261 100644
--- 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);