From 0c5417d5f47201c1b423dd9bb710ccfde06417da Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Wed, 13 Sep 2023 11:41:53 -0700 Subject: [PATCH] appease clang-tidy: More const --- common.c | 2 +- common.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common.c b/common.c index 1bc1102..747111b 100644 --- a/common.c +++ b/common.c @@ -4,7 +4,7 @@ #include #include -const char *FILENAME = "tl.log"; +const char *const FILENAME = "tl.log"; void die(const char *message) { fputs(message, stderr); diff --git a/common.h b/common.h index 8d40a78..93d722f 100644 --- a/common.h +++ b/common.h @@ -1,6 +1,6 @@ #include -extern const char *FILENAME; +extern const char *const FILENAME; void die(const char *message); -- 2.44.1