summaryrefslogtreecommitdiff
path: root/src/now.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-03 15:52:39 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-03 15:52:39 +0200
commita6a7d6ce079cabdaf2fa502b2e2cf15e5428ac6f (patch)
treeb88cc7a8457658d67e0321718556ac807f6bccf3 /src/now.c
parent00be7622c428f279872f84569f098ce16150f8a8 (diff)
format files
Diffstat (limited to 'src/now.c')
-rw-r--r--src/now.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/now.c b/src/now.c
index 5ce4d90..dc408e6 100644
--- a/src/now.c
+++ b/src/now.c
@@ -1,8 +1,10 @@
+#include "now.h"
+
#include <time.h>
+
#include "datetime.h"
-#include "now.h"
datetime_sec now()
{
- return time((long *) 0);
+ return time((long *)0);
}