Re: [hackers] [dwm][PATCH] getatomprop: Add forward declaration

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Wed, 22 Apr 2020 20:35:43 +0200

On Wed, Apr 22, 2020 at 03:48:08PM +0100, Chris Down wrote:
> No functional changes, but for every other function we have a forward
> declaration here. getatomprop should be no exception.
> ---
> dwm.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/dwm.c b/dwm.c
> index 41c6767..972f261 100644
> --- a/dwm.c
> +++ b/dwm.c
> _AT_@ -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);
> --
> 2.26.2
>
>

Thanks! I pushed some of the patches.

I don't care about the const casts so left that out.

-- 
Kind regards,
Hiltjo
Received on Wed Apr 22 2020 - 20:35:43 CEST

This archive was generated by hypermail 2.3.0 : Wed Apr 22 2020 - 20:36:39 CEST