diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-03-21 16:11:46 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-05-02 15:38:34 +0200 |
commit | ce8fb1f93f71246462d5692c42c88989eb32b1d2 (patch) | |
tree | a2b42dedd792d02f8d1c0fae4190526daa0886aa /nx-X11/programs/Xserver | |
parent | e3e451629b00ab589f8720d498089dba0447cf8f (diff) | |
download | nx-libs-ce8fb1f93f71246462d5692c42c88989eb32b1d2.tar.gz nx-libs-ce8fb1f93f71246462d5692c42c88989eb32b1d2.tar.bz2 nx-libs-ce8fb1f93f71246462d5692c42c88989eb32b1d2.zip |
HAVE_STDINT_H: Always include <stdint.h>.
We don't define HAVE_STDINT_H anywhere and it should be more safe using
the system's definition of UINT32_MAX.
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r-- | nx-X11/programs/Xserver/Xext/sampleEVI.c | 4 | ||||
-rw-r--r-- | nx-X11/programs/Xserver/Xext/xcmisc.c | 4 | ||||
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/NXglyph.c | 4 | ||||
-rw-r--r-- | nx-X11/programs/Xserver/render/glyph.c | 4 |
4 files changed, 0 insertions, 16 deletions
diff --git a/nx-X11/programs/Xserver/Xext/sampleEVI.c b/nx-X11/programs/Xserver/Xext/sampleEVI.c index 598992742..961c108f9 100644 --- a/nx-X11/programs/Xserver/Xext/sampleEVI.c +++ b/nx-X11/programs/Xserver/Xext/sampleEVI.c @@ -37,11 +37,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. #include "EVIstruct.h" #include "scrnintstr.h" -#if HAVE_STDINT_H #include <stdint.h> -#elif !defined(UINT32_MAX) -#define UINT32_MAX 0xffffffffU -#endif static int sampleGetVisualInfo( VisualID32 *visual, diff --git a/nx-X11/programs/Xserver/Xext/xcmisc.c b/nx-X11/programs/Xserver/Xext/xcmisc.c index 1d7ad0e09..e353d65ac 100644 --- a/nx-X11/programs/Xserver/Xext/xcmisc.c +++ b/nx-X11/programs/Xserver/Xext/xcmisc.c @@ -44,11 +44,7 @@ from The Open Group. #include <nx-X11/extensions/xcmiscstr.h> #include "modinit.h" -#if HAVE_STDINT_H #include <stdint.h> -#elif !defined(UINT32_MAX) -#define UINT32_MAX 0xffffffffU -#endif #if 0 static unsigned char XCMiscCode; diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXglyph.c b/nx-X11/programs/Xserver/hw/nxagent/NXglyph.c index 47db919ef..757ffff21 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/NXglyph.c +++ b/nx-X11/programs/Xserver/hw/nxagent/NXglyph.c @@ -76,11 +76,7 @@ #endif -#if HAVE_STDINT_H #include <stdint.h> -#elif !defined(UINT32_MAX) -#define UINT32_MAX 0xffffffffU -#endif /* * From Knuth -- a good choice for hash/rehash values is p, p-2 where diff --git a/nx-X11/programs/Xserver/render/glyph.c b/nx-X11/programs/Xserver/render/glyph.c index 900cf9844..f15b199b5 100644 --- a/nx-X11/programs/Xserver/render/glyph.c +++ b/nx-X11/programs/Xserver/render/glyph.c @@ -43,11 +43,7 @@ #include "picturestr.h" #include "glyphstr.h" -#if HAVE_STDINT_H #include <stdint.h> -#elif !defined(UINT32_MAX) -#define UINT32_MAX 0xffffffffU -#endif /* * From Knuth -- a good choice for hash/rehash values is p, p-2 where |