summaryrefslogtreecommitdiff
path: root/src/libudev/util.h
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-02-21 12:11:59 -0500
committerAnthony G. Basile <blueness@gentoo.org>2014-02-21 12:11:59 -0500
commit153929b11e2d1545d61fdfe85dec5e7883679f3e (patch)
tree60053440ea0e5990aa677e8c636ea0e8b5873ef3 /src/libudev/util.h
parent306c786fdcca7e75268ed9903367b0fd32db5502 (diff)
Add missing REENABLE_WARNING and unlink_noerrno()
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/util.h')
-rw-r--r--src/libudev/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libudev/util.h b/src/libudev/util.h
index 60ef764d97..33e9efbfab 100644
--- a/src/libudev/util.h
+++ b/src/libudev/util.h
@@ -328,6 +328,7 @@ static inline void _reset_errno_(int *saved_errno) {
#define PROTECT_ERRNO _cleanup_(_reset_errno_) __attribute__((unused)) int _saved_errno_ = errno
+int unlink_noerrno(const char *path);
static inline void qsort_safe(void *base, size_t nmemb, size_t size,
int (*compar)(const void *, const void *)) {
if (nmemb) {