[Xcb] [PATCH] replacing c++ class keyword in interface header

andreas.pokorny at gmail.com andreas.pokorny at gmail.com
Sat Jun 25 07:00:29 PDT 2011


From: Andreas Pokorny <Andreas.Pokorny at gmail.com>

class is a c++ keyword and cannot be used for parameter names.

Signed-off-by: Andreas Pokorny <Andreas.Pokorny at gmail.com>
---
 icccm/xcb_icccm.h |    6 +++---
 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 */
-- 
1.7.5.4



More information about the Xcb mailing list