summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plist.c4
-rw-r--r--src/time64.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/plist.c b/src/plist.c
index 4cb6206..862a54c 100644
--- a/src/plist.c
+++ b/src/plist.c
@@ -69,8 +69,8 @@ typedef volatile struct {
69 int state; 69 int state;
70} thread_once_t; 70} thread_once_t;
71 71
72static thread_once_t init_once = {0, 0}; 72static const thread_once_t init_once = {0, 0};
73static thread_once_t deinit_once = {0, 0}; 73static const thread_once_t deinit_once = {0, 0};
74 74
75void thread_once(thread_once_t *once_control, void (*init_routine)(void)) 75void thread_once(thread_once_t *once_control, void (*init_routine)(void))
76{ 76{
diff --git a/src/time64.c b/src/time64.c
index b62bc86..53932de 100644
--- a/src/time64.c
+++ b/src/time64.c
@@ -59,11 +59,11 @@ static const short julian_days_by_month[2][12] = {
59 {0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335}, 59 {0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335},
60}; 60};
61 61
62static char wday_name[7][4] = { 62static const char wday_name[7][4] = {
63 "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" 63 "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
64}; 64};
65 65
66static char mon_name[12][4] = { 66static const char mon_name[12][4] = {
67 "Jan", "Feb", "Mar", "Apr", "May", "Jun", 67 "Jan", "Feb", "Mar", "Apr", "May", "Jun",
68 "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" 68 "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
69}; 69};