From 53862f31246f7812cf1dd7e07dcada8c34f829e1 Mon Sep 17 00:00:00 2001 From: Arnaud Fontaine Date: Tue, 15 Dec 2009 10:31:45 +0100 Subject: Remove useless const --- ewmh/ewmh.c.m4 | 4 ++-- 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); -- cgit v1.2.3