From: Chris Down Date: Wed, 22 Apr 2020 14:48:08 +0000 (+0100) Subject: getatomprop: Add forward declaration X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=f087d20e6e60a49c756936b4312f5d194d8e63b4;p=dwm.git getatomprop: Add forward declaration No functional changes, but for every other function we have a forward declaration here. getatomprop should be no exception. --- 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);