summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Fontaine <arnau@debian.org>2009-12-15 10:31:45 +0100
committerArnaud Fontaine <arnau@debian.org>2010-08-09 16:06:30 -0500
commitdec92abdb5e722deee312d81e803b99d9b8810af (patch)
treeb9402845625fc43158fc50fb2986f27abd708054
parent913cebcb2772e8da0c8277142b9f79e1856a1c55 (diff)
Remove useless const
-rw-r--r--ewmh/ewmh.c.m44
-rw-r--r--ewmh/xcb_ewmh.h.m44
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);