diff src/console-x.h @ 4528:726060ee587c g++-warning-removal-2008-10-28

First draft of g++ 4.3 warning removal patch. Builds. *Needs ChangeLogs.*
author Stephen J. Turnbull <stephen@xemacs.org>
date Wed, 29 Oct 2008 04:06:33 +0900
parents fc7067b7f407
children b3ce27ca7647 19a72041c5ed
line wrap: on
line diff
--- a/src/console-x.h	Wed Oct 29 04:02:05 2008 +0900
+++ b/src/console-x.h	Wed Oct 29 04:06:33 2008 +0900
@@ -66,18 +66,6 @@
 # define XPointer char *
 #endif
 
-#define Xt_SET_VALUE(widget, resource, value) do {	\
-  Arg al;						\
-  XtSetArg (al, resource, value);			\
-  XtSetValues (widget, &al, 1);				\
-} while (0)
-
-#define Xt_GET_VALUE(widget, resource, location) do {	\
-  Arg al;						\
-  XtSetArg (al, resource, location);			\
-  XtGetValues (widget, &al, 1);				\
-} while (0)
-
 #ifdef __cplusplus
 #define X_CLASSFIELD c_class
 #else
@@ -212,7 +200,7 @@
 void describe_XIMStyles	 (XIMStyles *styles);
 void describe_XIC	 (XIC ic);
 void describe_event_mask (unsigned long mask);
-void describe_XRectangle (char *name, XRectangle *rect);
+void describe_XRectangle (const char *name, XRectangle *rect);
 void describe_Status	 (Status status);
 #endif /* DEBUG_XEMACS */
 #endif /* XIM_XLIB */