diff options
author | Arnaud Fontaine <arnau@debian.org> | 2009-12-15 10:31:45 +0100 |
---|---|---|
committer | Arnaud Fontaine <arfontaine@ITEM-58736.dhcp.oxfd.uk.sopra> | 2010-02-11 14:47:30 +0000 |
commit | fcf8b9ab6d2ac22a16b51e04714588c781a03683 (patch) | |
tree | cd93c4a8a137b3553ac010f23a41ccca10a3152b | |
parent | 936a00407401aa1a5a4e327f0af8609102c0ee20 (diff) |
Remove useless const
-rw-r--r-- | ewmh/ewmh.c.m4 | 4 | ||||
-rw-r--r-- | ewmh/xcb_ewmh.h.m4 | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ewmh/ewmh.c.m4 b/ewmh/ewmh.c.m4 index 1c343bd..59e043e 100644 --- a/ewmh/ewmh.c.m4 +++ b/ewmh/ewmh.c.m4 @@ -494,7 +494,7 @@ DO_REPLY_LIST_VALUES(atoms, XCB_ATOM_ATOM, xcb_atom_t) xcb_intern_atom_cookie_t * xcb_ewmh_init_atoms(xcb_connection_t *c, - xcb_ewmh_connection_t * const ewmh, + xcb_ewmh_connection_t *ewmh, const int screen_nbr) { ewmh->connection = c; @@ -531,7 +531,7 @@ xcb_ewmh_init_atoms(xcb_connection_t *c, } uint8_t -xcb_ewmh_init_atoms_replies(xcb_ewmh_connection_t * const ewmh, +xcb_ewmh_init_atoms_replies(xcb_ewmh_connection_t *ewmh, xcb_intern_atom_cookie_t *ewmh_cookies, xcb_generic_error_t **e) { diff --git a/ewmh/xcb_ewmh.h.m4 b/ewmh/xcb_ewmh.h.m4 index b9e1b3d..f4fe745 100644 --- a/ewmh/xcb_ewmh.h.m4 +++ b/ewmh/xcb_ewmh.h.m4 @@ -345,7 +345,7 @@ typedef struct { * @return The cookies corresponding to EWMH atoms */ xcb_intern_atom_cookie_t *xcb_ewmh_init_atoms(xcb_connection_t *c, - xcb_ewmh_connection_t * const ewmh, + xcb_ewmh_connection_t *ewmh, const int screen_nbr); /** @@ -357,7 +357,7 @@ xcb_intern_atom_cookie_t *xcb_ewmh_init_atoms(xcb_connection_t *c, * @param e Error if any * @return Return 1 on success, 0 otherwise */ -uint8_t xcb_ewmh_init_atoms_replies(xcb_ewmh_connection_t * const ewmh, +uint8_t xcb_ewmh_init_atoms_replies(xcb_ewmh_connection_t *ewmh, xcb_intern_atom_cookie_t *ewmh_cookies, xcb_generic_error_t **e); |