diff options
author | Daniel Lange <DLange@git.local> | 2022-02-04 11:23:02 +0100 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2022-02-04 11:23:02 +0100 |
commit | a6822e98434cf7da6fab033898094976d881ee0f (patch) | |
tree | 2b0f2ac3ad8c9e9a8c01bb692d9bdb51ce91e83b /netbsd/Platform.h | |
parent | 30ce3b4c264c51c98f280e88e23792ff7deb2317 (diff) | |
download | debian_htop-a6822e98434cf7da6fab033898094976d881ee0f.tar.gz debian_htop-a6822e98434cf7da6fab033898094976d881ee0f.tar.bz2 debian_htop-a6822e98434cf7da6fab033898094976d881ee0f.zip |
New upstream version 3.1.2upstream/3.1.2
Diffstat (limited to 'netbsd/Platform.h')
-rw-r--r-- | netbsd/Platform.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/netbsd/Platform.h b/netbsd/Platform.h index 1d1115e..e650bcd 100644 --- a/netbsd/Platform.h +++ b/netbsd/Platform.h @@ -24,6 +24,7 @@ in the source distribution for its full text. #include "Process.h" #include "ProcessLocksScreen.h" #include "SignalsPanel.h" +#include "CommandLine.h" #include "generic/gettime.h" #include "generic/hostname.h" #include "generic/uname.h" @@ -42,7 +43,7 @@ extern const unsigned int Platform_numberOfSignals; extern const MeterClass* const Platform_meterTypes[]; -void Platform_init(void); +bool Platform_init(void); void Platform_done(void); @@ -82,8 +83,8 @@ static inline void Platform_getRelease(char** string) { static inline void Platform_longOptionsUsage(ATTR_UNUSED const char* name) { } -static inline bool Platform_getLongOption(ATTR_UNUSED int opt, ATTR_UNUSED int argc, ATTR_UNUSED char** argv) { - return false; +static inline CommandLineStatus Platform_getLongOption(ATTR_UNUSED int opt, ATTR_UNUSED int argc, ATTR_UNUSED char** argv) { + return STATUS_ERROR_EXIT; } static inline void Platform_gettime_realtime(struct timeval* tv, uint64_t* msec) { |