summaryrefslogtreecommitdiffstats
path: root/src/shared/hwdb-util.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-08-17 07:44:27 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-08-17 14:56:46 +0200
commitf9b3b990171078f846fbcdecf19a4dbcfe3986dc (patch)
treefb6390a438d8b0f8115ddfccea1fe145204716f8 /src/shared/hwdb-util.h
parentMerge pull request #24333 from yuwata/sysctl (diff)
downloadsystemd-f9b3b990171078f846fbcdecf19a4dbcfe3986dc.tar.xz
systemd-f9b3b990171078f846fbcdecf19a4dbcfe3986dc.zip
udev: rename various validate() -> should_reload() for builtin commands
Previously, true by validate() means several configs are outdated and we need to reload configs. That's not intuitive for me. Let's rename the functions.
Diffstat (limited to 'src/shared/hwdb-util.h')
-rw-r--r--src/shared/hwdb-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/hwdb-util.h b/src/shared/hwdb-util.h
index bfecddea42..cb93690ee8 100644
--- a/src/shared/hwdb-util.h
+++ b/src/shared/hwdb-util.h
@@ -5,6 +5,6 @@
#include "sd-hwdb.h"
-bool hwdb_validate(sd_hwdb *hwdb);
+bool hwdb_should_reload(sd_hwdb *hwdb);
int hwdb_update(const char *root, const char *hwdb_bin_dir, bool strict, bool compat);
int hwdb_query(const char *modalias, const char *root);