summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-10-25 21:40:01 +0200
committerKay Sievers <kay@vrfy.org>2012-10-25 21:44:33 +0200
commit1c574591db5a62aa40aaac02645be1521ea85771 (patch)
treeee7c8b1651e5b52fea0811e81a0514f0d5100a2f /src/shared
parentc225f2ffc8a44d9796723aa97bbdfcf331a836c5 (diff)
udev: hwdb - remove run_once
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/util.c3
1 files changed, 1 insertions, 2 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;