]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hibernate-resume: add missing static for arg_info
authorMike Yuan <me@yhndnzj.com>
Mon, 23 Oct 2023 13:02:25 +0000 (21:02 +0800)
committerMike Yuan <me@yhndnzj.com>
Mon, 23 Oct 2023 15:12:27 +0000 (23:12 +0800)
src/hibernate-resume/hibernate-resume.c

index 48225201edf4d9755695331876378e2afc2ec471..9d81332f26c7473a64818aff6efdfc7b511afe4e 100644 (file)
@@ -12,7 +12,7 @@
 #include "parse-util.h"
 #include "static-destruct.h"
 
-HibernateInfo arg_info = {};
+static HibernateInfo arg_info = {};
 
 STATIC_DESTRUCTOR_REGISTER(arg_info, hibernate_info_done);