diff options
-rw-r--r-- | get_load.c | 22 | ||||
-rw-r--r-- | get_rload.c | 2 |
2 files changed, 1 insertions, 23 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 */ diff --git a/get_rload.c b/get_rload.c index c17598f..fd0f326 100644 --- a/get_rload.c +++ b/get_rload.c @@ -12,7 +12,7 @@ /* Not all OS supports get_rload steal the STUB idea from get_load */ -#if defined(QNX4) || defined(__CYGWIN__) || defined(_WIN32) +#if defined(__CYGWIN__) || defined(_WIN32) #define RLOADSTUB #endif |