summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Pokorny <Andreas.Pokorny@gmail.com>2011-06-25 16:00:29 +0200
committerArnaud Fontaine <arnau@debian.org>2011-06-30 10:12:08 +0200
commite08332c4a61f9825fc8893025ffa8f89d67a8900 (patch)
tree07ae393371e318a31665f4b1d058b9c2c2950be9
parent7e331a600ca3016d1e8fa9a7a29038377cbe86af (diff)
Replacing c++ class keyword in interface header
class is a c++ keyword and cannot be used for parameter names. Signed-off-by: Andreas Pokorny <Andreas.Pokorny@gmail.com> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
-rw-r--r--icccm/xcb_icccm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/icccm/xcb_icccm.h b/icccm/xcb_icccm.h
index 8f0934a..449a5c8 100644
--- a/icccm/xcb_icccm.h
+++ b/icccm/xcb_icccm.h
@@ -386,13 +386,13 @@ uint8_t xcb_icccm_get_wm_client_machine_reply(xcb_connection_t *c,
* @param c The connection to the X server.
* @param window Window X identifier.
* @param class_len Length of WM_CLASS string.
- * @param class WM_CLASS string.
+ * @param class_name WM_CLASS string.
* @return The request cookie.
*/
xcb_void_cookie_t xcb_icccm_set_wm_class_checked(xcb_connection_t *c,
xcb_window_t window,
uint32_t class_len,
- const char *class);
+ const char *class_name);
/**
* @see xcb_icccm_set_wm_class_checked()
@@ -400,7 +400,7 @@ xcb_void_cookie_t xcb_icccm_set_wm_class_checked(xcb_connection_t *c,
xcb_void_cookie_t xcb_icccm_set_wm_class(xcb_connection_t *c,
xcb_window_t window,
uint32_t class_len,
- const char *class);
+ const char *class_name);
typedef struct {
/** Instance name */