summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/shared/util.c3
-rw-r--r--src/udev/udev-builtin-hwdb.c1
2 files changed, 1 insertions, 3 deletions
diff --git a/src/shared/util.c b/src/shared/util.c
index 2f0aba88ae..a73443d535 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -6072,8 +6072,7 @@ finish:
/* hey glibc, APIs with callbacks without a user pointer are so useless */
void *xbsearch_r(const void *key, const void *base, size_t nmemb, size_t size,
- int (*compar) (const void *, const void *, void *),
- void *arg) {
+ int (*compar) (const void *, const void *, void *), void *arg) {
size_t l, u, idx;
const void *p;
int comparison;
diff --git a/src/udev/udev-builtin-hwdb.c b/src/udev/udev-builtin-hwdb.c
index 5ccd06df04..4c3d5aea62 100644
--- a/src/udev/udev-builtin-hwdb.c
+++ b/src/udev/udev-builtin-hwdb.c
@@ -371,5 +371,4 @@ const struct udev_builtin udev_builtin_hwdb = {
.exit = builtin_hwdb_exit,
.validate = builtin_hwdb_validate,
.help = "hardware database",
- .run_once = true,
};