summaryrefslogtreecommitdiff
path: root/include/X11
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-30 18:22:10 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-30 18:22:10 -0200
commitf56a69f2cf7df1e7cdf2494c5408786e53467374 (patch)
treec2b4d72f8bd8af0de6efdccd7ae8e3028c654d08 /include/X11
parentc1f227f94aec6f4555182965fc0d2d8f33fef01f (diff)
downloadxorg-lib-libXt-f56a69f2cf7df1e7cdf2494c5408786e53467374.tar.gz
Janitor: ansification, make distcheck, compiler warnings, .gitignore.
Most "compiler" warnings were actually sparse warnings, due to assigning a integer to a pointer, or an external symbol without a previous declaration.
Diffstat (limited to 'include/X11')
-rw-r--r--include/X11/.gitignore2
-rw-r--r--include/X11/Composite.h2
-rw-r--r--include/X11/Constraint.h2
-rw-r--r--include/X11/Core.h2
-rw-r--r--include/X11/Object.h2
-rw-r--r--include/X11/RectObj.h2
-rw-r--r--include/X11/ThreadsI.h2
7 files changed, 6 insertions, 8 deletions
diff --git a/include/X11/.gitignore b/include/X11/.gitignore
deleted file mode 100644
index c3f163c..0000000
--- a/include/X11/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-Shell.h
-StringDefs.h
diff --git a/include/X11/Composite.h b/include/X11/Composite.h
index 0a58332..c3c9828 100644
--- a/include/X11/Composite.h
+++ b/include/X11/Composite.h
@@ -97,7 +97,7 @@ extern void XtChangeManagedSet(
_XFUNCPROTOEND
-#ifndef XT_COMPOSITE
+#ifndef VMS
externalref WidgetClass compositeWidgetClass;
#endif
diff --git a/include/X11/Constraint.h b/include/X11/Constraint.h
index b8bd902..977e7ee 100644
--- a/include/X11/Constraint.h
+++ b/include/X11/Constraint.h
@@ -54,7 +54,7 @@ _XFUNCPROTOBEGIN
typedef struct _ConstraintClassRec *ConstraintWidgetClass;
-#ifndef CONSTRAINT
+#ifndef VMS
externalref WidgetClass constraintWidgetClass;
#endif
diff --git a/include/X11/Core.h b/include/X11/Core.h
index e1a7c28..5127b50 100644
--- a/include/X11/Core.h
+++ b/include/X11/Core.h
@@ -59,7 +59,7 @@ typedef struct _WidgetClassRec *CoreWidgetClass;
typedef struct _WidgetRec *CoreWidget;
externalref WidgetClass coreWidgetClass;
-#ifndef _XT_CORE_C
+#ifndef VMS
externalref WidgetClass widgetClass;
#endif
diff --git a/include/X11/Object.h b/include/X11/Object.h
index 2c84aaf..5ef65de 100644
--- a/include/X11/Object.h
+++ b/include/X11/Object.h
@@ -55,7 +55,7 @@ _XFUNCPROTOBEGIN
typedef struct _ObjectRec *Object;
typedef struct _ObjectClassRec *ObjectClass;
-#ifndef OBJECT
+#ifndef VMS
externalref WidgetClass objectClass;
#endif
diff --git a/include/X11/RectObj.h b/include/X11/RectObj.h
index dced5c3..81e43a5 100644
--- a/include/X11/RectObj.h
+++ b/include/X11/RectObj.h
@@ -55,7 +55,7 @@ _XFUNCPROTOBEGIN
typedef struct _RectObjRec *RectObj;
typedef struct _RectObjClassRec *RectObjClass;
-#ifndef RECTOBJ
+#ifndef VMS
externalref WidgetClass rectObjClass;
#endif
diff --git a/include/X11/ThreadsI.h b/include/X11/ThreadsI.h
index 28cbc98..f07fe29 100644
--- a/include/X11/ThreadsI.h
+++ b/include/X11/ThreadsI.h
@@ -115,7 +115,7 @@ _XFUNCPROTOEND
XtWidgetToApplicationContext(w) : NULL)
#define DPY_TO_APPCON(d) \
- XtAppContext app = (_XtProcessLock ? XtDisplayToApplicationContext(d): 0)
+ XtAppContext app = (_XtProcessLock ? XtDisplayToApplicationContext(d): NULL)
#else /* defined(XTHREADS) */