diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-02-11 15:42:38 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-02-11 16:07:05 -0800 |
commit | f16d6f2c273c6896a4e79ac9db7a80c830794392 (patch) | |
tree | 76ed4f7244f5adca9cc780da9a1f433505f044f7 /get_load.c | |
parent | f1ef1f0ac2a81b4aa59f1fba37ee11f6a0acbe22 (diff) |
unifdef QNX4
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'get_load.c')
-rw-r--r-- | get_load.c | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -128,15 +128,10 @@ void GetLoadPoint( # else /* not HAVE_GETLOADAVG */ -# if defined(QNX4) -# define LOADSTUB -# endif -# ifndef LOADSTUB # if !defined(linux) && !defined(__GLIBC__) # include <nlist.h> # endif /* !linux && ... */ -# endif /* LOADSTUB */ # ifdef CSRG_BASED # include <sys/param.h> @@ -271,22 +266,6 @@ void GetLoadPoint( # else /* __APPLE__ */ -# ifdef LOADSTUB - -void InitLoadPoint() -{ -} - -/* ARGSUSED */ -void GetLoadPoint( w, closure, call_data ) - Widget w; /* unused */ - XtPointer closure; /* unused */ - XtPointer call_data; /* pointer to (double) return value */ -{ - *(double *)call_data = 1.0; -} - -# else /* not LOADSTUB */ # ifdef __QNXNTO__ @@ -467,7 +446,6 @@ void GetLoadPoint( w, closure, call_data ) } # endif /* __bsdi__ else */ # endif /* __QNXNTO__ else */ -# endif /* LOADSTUB else */ # endif /* __APPLE__ else */ # endif /* __GNU__ else */ # endif /* linux else */ |