summaryrefslogtreecommitdiff
path: root/src/myctime.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-08 13:24:39 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-08 13:24:39 +0200
commit973ae30e7c4f7a1afb385dd3d8eeea178f981445 (patch)
tree1a5d8be5b3ff273a141b6144bf3031b1bc3deb2d /src/myctime.c
parent66404f0bfbd78e635ff6381ca30b25157e0e1a09 (diff)
fix deprecated prototypes
Diffstat (limited to 'src/myctime.c')
-rw-r--r--src/myctime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/myctime.c b/src/myctime.c
index ebb01ba..69d7004 100644
--- a/src/myctime.c
+++ b/src/myctime.c
@@ -4,8 +4,8 @@
#include "datetime.h"
-static char *daytab[7] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};
-static char *montab[12] = {
+static const char *daytab[7] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};
+static const char *montab[12] = {
"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"};
static char result[30];