summaryrefslogtreecommitdiff
path: root/ewmh
diff options
context:
space:
mode:
authorArnaud Fontaine <arnau@debian.org>2009-12-15 10:31:45 +0100
committerArnaud Fontaine <arnau@debian.org>2010-11-14 20:22:29 +0900
commit53862f31246f7812cf1dd7e07dcada8c34f829e1 (patch)
tree43896a12821adc9f8e57084d6042435141d12524 /ewmh
parent8add219807de5c54b805c9ebdd7ad56df78a5969 (diff)
Remove useless const
Diffstat (limited to 'ewmh')
-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);