summaryrefslogtreecommitdiff
path: root/src/libudev/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libudev/util.h')
-rw-r--r--src/libudev/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libudev/util.h b/src/libudev/util.h
index 60b300da3c..96a42bf3d3 100644
--- a/src/libudev/util.h
+++ b/src/libudev/util.h
@@ -272,6 +272,8 @@ void *xbsearch_r(const void *key, const void *base, size_t nmemb, size_t size,
int (*compar) (const void *, const void *, void *),
void *arg);
+char *xescape(const char *s, const char *bad);
+
static inline void _reset_errno_(int *saved_errno) {
errno = *saved_errno;
}