summaryrefslogtreecommitdiffstats
path: root/openbsd
diff options
context:
space:
mode:
authorMichael F. Schönitzer <michael@schoenitzer.de>2020-10-05 13:52:58 +0200
committerGitHub <noreply@github.com>2020-10-05 13:52:58 +0200
commitd93cac12be1a7a580e338c6fa80286bfa703ffc6 (patch)
tree93d613adc2f698b8bb03c799072c3d4ee8330250 /openbsd
parentffd90c28ab55a2cdbbd5c3b8130e0462a24af8a8 (diff)
Add a date and datetime meter (#159)
Add a date meter and sort header and source files in Makefile Change the lists of header and source files sorted alphabetical and one file per line. This way diffs become better readable and merges easier.
Diffstat (limited to 'openbsd')
-rw-r--r--openbsd/Platform.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsd/Platform.c b/openbsd/Platform.c
index ce370994..574b573c 100644
--- a/openbsd/Platform.c
+++ b/openbsd/Platform.c
@@ -15,6 +15,8 @@ in the source distribution for its full text.
#include "LoadAverageMeter.h"
#include "UptimeMeter.h"
#include "ClockMeter.h"
+#include "DateMeter.h"
+#include "DateTimeMeter.h"
#include "HostnameMeter.h"
#include "SignalsPanel.h"
#include "OpenBSDProcess.h"
@@ -91,6 +93,8 @@ void Platform_setBindings(Htop_Action* keys) {
MeterClass* Platform_meterTypes[] = {
&CPUMeter_class,
&ClockMeter_class,
+ &DateMeter_class,
+ &DateTimeMeter_class,
&LoadAverageMeter_class,
&LoadMeter_class,
&MemoryMeter_class,

© 2014-2024 Faster IT GmbH | imprint | privacy policy