projects
/
oweals
/
cde.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dtdocbook: Coverity 86763
[oweals/cde.git]
/
cde
/
programs
/
dtsession
/
SmConMgmt.c
diff --git
a/cde/programs/dtsession/SmConMgmt.c
b/cde/programs/dtsession/SmConMgmt.c
index 0a18e0aa381b0448d45fcf8d0f62ead64b6a6319..23762542502112262e4935fcfdc9491cf41d1266 100644
(file)
--- a/
cde/programs/dtsession/SmConMgmt.c
+++ b/
cde/programs/dtsession/SmConMgmt.c
@@
-55,7
+55,7
@@
#include <stdio.h>
#include <fcntl.h>
#include <stdio.h>
#include <fcntl.h>
-#if !defined(
linux
)
+#if !defined(
__linux__
)
#include <nlist.h>
#endif
#include <X11/Intrinsic.h>
#include <nlist.h>
#endif
#include <X11/Intrinsic.h>
@@
-109,7
+109,7
@@
int clientRunning;
/*
* Variables global to this module only
*/
/*
* Variables global to this module only
*/
-#if !defined(
linux
)
+#if !defined(
__linux__
)
static struct nlist namelist[3];
#endif
static int freemem_loc, gpgslim_loc, gpgslim, freemem;
static struct nlist namelist[3];
#endif
static int freemem_loc, gpgslim_loc, gpgslim, freemem;
@@
-160,7
+160,7
@@
static void WaitClientTimeout(XtPointer, XtIntervalId *);
int
GetMemoryUtilization(void)
{
int
GetMemoryUtilization(void)
{
-#if !defined(
linux
)
+#if !defined(
__linux__
)
static int init = 0;
static int kmem;
#if !defined(SVR4) && !defined(hpV4) && !defined(_POWER) && !defined(CSRG_BASED)
static int init = 0;
static int kmem;
#if !defined(SVR4) && !defined(hpV4) && !defined(_POWER) && !defined(CSRG_BASED)