]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-journal/catalog: make catalog_file_dirs static
authorMike Yuan <me@yhndnzj.com>
Wed, 4 Mar 2026 13:11:52 +0000 (14:11 +0100)
committerMike Yuan <me@yhndnzj.com>
Wed, 4 Mar 2026 13:32:17 +0000 (14:32 +0100)
src/libsystemd/sd-journal/catalog.c

index 9ddbc11089a65b2eb3c76e9e7c60f7c9a50e798a..a44ffe5585b7eafe7579e3c651bc74436b7e6e47 100644 (file)
@@ -28,7 +28,7 @@
 #include "strv.h"
 #include "tmpfile-util.h"
 
-const char * const catalog_file_dirs[] = {
+static const char * const catalog_file_dirs[] = {
         "/usr/local/lib/systemd/catalog/",
         "/usr/lib/systemd/catalog/",
         NULL