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
ce8fb1f9
Commit
ce8fb1f9
authored
Mar 21, 2016
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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.
parent
e3e45162
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
16 deletions
+0
-16
sampleEVI.c
nx-X11/programs/Xserver/Xext/sampleEVI.c
+0
-4
xcmisc.c
nx-X11/programs/Xserver/Xext/xcmisc.c
+0
-4
NXglyph.c
nx-X11/programs/Xserver/hw/nxagent/NXglyph.c
+0
-4
glyph.c
nx-X11/programs/Xserver/render/glyph.c
+0
-4
No files found.
nx-X11/programs/Xserver/Xext/sampleEVI.c
View file @
ce8fb1f9
...
...
@@ -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
,
...
...
nx-X11/programs/Xserver/Xext/xcmisc.c
View file @
ce8fb1f9
...
...
@@ -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;
...
...
nx-X11/programs/Xserver/hw/nxagent/NXglyph.c
View file @
ce8fb1f9
...
...
@@ -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
...
...
nx-X11/programs/Xserver/render/glyph.c
View file @
ce8fb1f9
...
...
@@ -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
...
...
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