summaryrefslogtreecommitdiffstats
path: root/src/plist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plist.c')
-rw-r--r--src/plist.c4
1 files changed, 2 insertions, 2 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 {
int state;
} thread_once_t;
-static thread_once_t init_once = {0, 0};
-static thread_once_t deinit_once = {0, 0};
+static const thread_once_t init_once = {0, 0};
+static const thread_once_t deinit_once = {0, 0};
void thread_once(thread_once_t *once_control, void (*init_routine)(void))
{