summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
authorSam Light <sam@lightscale.co.uk>2025-09-10 19:37:28 +0100
committerSam Light <sam@lightscale.co.uk>2025-09-10 19:37:28 +0100
commit8101b1aa507795224054a752dd603ec3426c40ee (patch)
tree79c593f1d2a8c54f380f1d373a79f21cc5fc4a06 /src/text.h
parentd9b456d738e5013d48f41f5e6315ef7c22d6acf0 (diff)
Created better management of updates + update on SIGUSR1
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/text.h b/src/text.h
index 752d15f..ff6ead7 100644
--- a/src/text.h
+++ b/src/text.h
@@ -2,10 +2,12 @@
#define _DWXINFO_TEXT_H_
#include <stdio.h>
+#include <time.h>
#define TEXT_SIZE 512
struct text {
+ time_t last_update;
char value[TEXT_SIZE];
struct battery * battery;