diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-30 18:22:10 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-30 18:22:10 -0200 |
commit | f56a69f2cf7df1e7cdf2494c5408786e53467374 (patch) | |
tree | c2b4d72f8bd8af0de6efdccd7ae8e3028c654d08 /include | |
parent | c1f227f94aec6f4555182965fc0d2d8f33fef01f (diff) |
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')
-rw-r--r-- | include/.gitignore | 2 | ||||
-rw-r--r-- | include/X11/.gitignore | 2 | ||||
-rw-r--r-- | include/X11/Composite.h | 2 | ||||
-rw-r--r-- | include/X11/Constraint.h | 2 | ||||
-rw-r--r-- | include/X11/Core.h | 2 | ||||
-rw-r--r-- | include/X11/Object.h | 2 | ||||
-rw-r--r-- | include/X11/RectObj.h | 2 | ||||
-rw-r--r-- | include/X11/ThreadsI.h | 2 |
8 files changed, 6 insertions, 10 deletions
diff --git a/include/.gitignore b/include/.gitignore deleted file mode 100644 index 282522d..0000000 --- a/include/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -Makefile -Makefile.in 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) */ |