Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
ef5565f8
Commit
ef5565f8
authored
Jul 26, 2016
by
Ulrich Sibiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve header guards
Upstream has changed the header guards. We adapt them to prevent double inclusion.
parent
59307314
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
34 additions
and
20 deletions
+34
-20
ImUtil.h
nx-X11/lib/X11/ImUtil.h
+3
-2
XKBlib.h
nx-X11/lib/X11/XKBlib.h
+3
-2
Xcms.h
nx-X11/lib/X11/Xcms.h
+3
-2
Xlib.h
nx-X11/lib/X11/Xlib.h
+3
-2
Xlibint.h
nx-X11/lib/X11/Xlibint.h
+4
-3
Xlocale.h
nx-X11/lib/X11/Xlocale.h
+3
-2
Xregion.h
nx-X11/lib/X11/Xregion.h
+3
-2
Xresource.h
nx-X11/lib/X11/Xresource.h
+3
-2
Xutil.h
nx-X11/lib/X11/Xutil.h
+3
-3
cursorfont.h
nx-X11/lib/X11/cursorfont.h
+6
-0
No files found.
nx-X11/lib/X11/ImUtil.h
View file @
ef5565f8
#ifndef _IMUTIL_H_
#if !defined(_X11_IMUTIL_H_) && !defined(_IM_UTIL_H_)
#define _X11_IMUTIL_H_
#define _IMUTIL_H_
extern
int
...
...
@@ -27,4 +28,4 @@ extern void
_XInitImageFuncPtrs
(
register
XImage
*
image
);
#endif
/*
_IMUTIL_H_
*/
#endif
/*
!defined(_X11_IMUTIL_H_) && !defined(_IM_UTIL_H_)
*/
nx-X11/lib/X11/XKBlib.h
View file @
ef5565f8
...
...
@@ -24,7 +24,8 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/
#ifndef _XKBLIB_H_
#if !defined(_X11_XKBLIB_H_) && !defined(_XKBLIB_H_)
#define _X11_XKBLIB_H_
#define _XKBLIB_H_
#include <nx-X11/Xlib.h>
...
...
@@ -1146,4 +1147,4 @@ extern void XkbUpdateKeyTypeVirtualMods(
_XFUNCPROTOEND
#endif
/*
_XKBLIB_H_
*/
#endif
/*
!defined(_X11_XKBLIB_H_) && !defined(_XKBLIB_H_)
*/
nx-X11/lib/X11/Xcms.h
View file @
ef5565f8
...
...
@@ -26,7 +26,8 @@
* DESCRIPTION
* Public include file for X Color Management System
*/
#ifndef _XCMS_H_
#if !defined(_X11_XCMS_H_) && !defined(_XCMS_H_)
#define _X11_XCMS_H_
#define _XCMS_H_
#include <nx-X11/Xlib.h>
...
...
@@ -800,4 +801,4 @@ extern Visual *XcmsVisualOfCCC (
_XFUNCPROTOEND
#endif
/*
_XCMS_H_
*/
#endif
/*
!defined(_X11_XCMS_H_) && !defined(_XCMS_H_)
*/
nx-X11/lib/X11/Xlib.h
View file @
ef5565f8
...
...
@@ -30,7 +30,8 @@ in this Software without prior written authorization from The Open Group.
* interface library (Xlib) to the X Window System Protocol (V11).
* Structures and symbols starting with "_" are private to the library.
*/
#ifndef _XLIB_H_
#if !defined(_X11_XLIB_H_) && !defined(_XLIB_H_)
#define _X11_XLIB_H_
#define _XLIB_H_
#define XlibSpecificationRelease 6
...
...
@@ -4041,4 +4042,4 @@ extern void XFreeEventData(
_XFUNCPROTOEND
#endif
/*
_XLIB_H_
*/
#endif
/*
#if !defined(_X11_XLIB_H_) && !defined(_XLIB_H_)
*/
nx-X11/lib/X11/Xlibint.h
View file @
ef5565f8
...
...
@@ -51,8 +51,9 @@ from The Open Group.
*/
#ifndef _XLIBINT_H_
#define _XLIBINT_H_ 1
#if !defined(_X11_XLIBINT_H_) && !defined(_XLIBINT_H_)
#define _X11_XLIBINT_H_
#define _XLIBINT_H_
/*
* Xlibint.h - Header definition and support file for the internal
...
...
@@ -1437,4 +1438,4 @@ extern void xlocaledir(
_XFUNCPROTOEND
#endif
/*
_XLIBINT_H_
*/
#endif
/*
!defined(_X11_XLIBINT_H_) && !defined(_XLIBINT_H_)
*/
nx-X11/lib/X11/Xlocale.h
View file @
ef5565f8
...
...
@@ -26,7 +26,8 @@ from The Open Group.
*/
#ifndef _XLOCALE_H_
#if !defined(_X11_XLOCALE_H_) && !defined(_XLOCALE_H_)
#define _X11_XLOCALE_H_
#define _XLOCALE_H_
#include <nx-X11/Xfuncproto.h>
...
...
@@ -56,4 +57,4 @@ _XFUNCPROTOEND
#endif
/* X_LOCALE */
#endif
/*
_XLOCALE_H_
*/
#endif
/*
!defined(_X11_XLOCALE_H_) && !defined(_XLOCALE_H_)
*/
nx-X11/lib/X11/Xregion.h
View file @
ef5565f8
...
...
@@ -45,7 +45,8 @@ SOFTWARE.
************************************************************************/
#ifndef _XREGION_H
#if !defined(_X11_XREGION_H_) && !defined(_XREGION_H)
#define _X11_XREGION_H_
#define _XREGION_H
typedef
struct
{
...
...
@@ -186,4 +187,4 @@ typedef struct _POINTBLOCK {
struct
_POINTBLOCK
*
next
;
}
POINTBLOCK
;
#endif
#endif
/* !defined(_X11_XREGION_H_) && !defined(_XREGION_H) */
nx-X11/lib/X11/Xresource.h
View file @
ef5565f8
...
...
@@ -46,7 +46,8 @@ SOFTWARE.
******************************************************************/
#ifndef _XRESOURCE_H_
#if !defined(_X11_XRESOURCE_H_) && !defined(_XRESOURCE_H_)
#define _X11_XRESOURCE_H_
#define _XRESOURCE_H_
#ifndef _XP_PRINT_SERVER_
...
...
@@ -354,5 +355,5 @@ extern void XrmParseCommand(
_XFUNCPROTOEND
#endif
/*
_XRESOURCE_H_
*/
#endif
/*
!defined(_X11_XRESOURCE_H_) && !defined(_XRESOURCE_H_)
*/
/* DON'T ADD STUFF AFTER THIS #endif */
nx-X11/lib/X11/Xutil.h
View file @
ef5565f8
...
...
@@ -46,9 +46,9 @@ SOFTWARE.
******************************************************************/
#if !defined(_XUTIL_H_) && !defined(_X11_XUTIL_H_)
#define _XUTIL_H_
#if !defined(_X11_XUTIL_H_) && !defined(_XUTIL_H_)
#define _X11_XUTIL_H_
#define _XUTIL_H_
/* You must include <nx-X11/Xlib.h> before including this file */
#include <nx-X11/Xlib.h>
...
...
@@ -823,4 +823,4 @@ extern int XXorRegion(
_XFUNCPROTOEND
#endif
/*
_XUTIL_H_
*/
#endif
/*
!defined(_X11_XUTIL_H_) && !defined(_XUTIL_H_)
*/
nx-X11/lib/X11/cursorfont.h
View file @
ef5565f8
...
...
@@ -26,6 +26,10 @@ from The Open Group.
*/
#if !defined(_X11_CURSORFONT_H_) && !defined(_cursorfont_h_)
#define _X11_CURSORFONT_H_
#define _cursorfont_h_
#define XC_num_glyphs 154
#define XC_X_cursor 0
#define XC_arrow 2
...
...
@@ -104,3 +108,5 @@ from The Open Group.
#define XC_ur_angle 148
#define XC_watch 150
#define XC_xterm 152
#endif
/* !defined(_X11_CURSORFONT_H_) && !defined(_cursorfont_h_) */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment