summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-03 18:41:52 -0500
committerJune McEnroe <june@causal.agency>2020-02-03 18:41:52 -0500
commit26e9dd9adfd4df90cd4cc6ef14d91cdad2efb239 (patch)
tree6c4a44b69dae6be1fa75395fe23cd735669c5462 /chat.h
parentAdd sequences for toggling focus/paste modes (diff)
downloadcatgirl-26e9dd9adfd4df90cd4cc6ef14d91cdad2efb239.tar.gz
catgirl-26e9dd9adfd4df90cd4cc6ef14d91cdad2efb239.zip
Use time_t rather than struct tm
Diffstat (limited to 'chat.h')
-rw-r--r--chat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chat.h b/chat.h
index 76d69c9..9165c13 100644
--- a/chat.h
+++ b/chat.h
@@ -115,9 +115,9 @@ void uiShow(void);
 void uiHide(void);
 void uiDraw(void);
 void uiShowID(size_t id);
-void uiWrite(size_t id, enum Heat heat, const struct tm *time, const char *str);
+void uiWrite(size_t id, enum Heat heat, const time_t *time, const char *str);
 void uiFormat(
-	size_t id, enum Heat heat, const struct tm *time, const char *format, ...
+	size_t id, enum Heat heat, const time_t *time, const char *format, ...
 ) __attribute__((format(printf, 4, 5)));
 
 static inline enum Color hash(const char *str) {
77ef7a34cc24c7bc18d7b6326643ce0995a2&follow=1'>Implement new line editing "library"June McEnroe 2022-02-18Simplify cursor positioning in inputJune McEnroe 2022-02-18Fix M-f orderingJune McEnroe 2022-02-12Move sandman build to scripts/MakefileJune McEnroe 2022-02-12Use compat_readpassphrase.c on LinuxJune McEnroe 2022-02-12Copy RPP defines from oconfigureJune McEnroe