summaryrefslogtreecommitdiff
path: root/src/libudev/util.h
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-06-06 10:39:11 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-06-06 10:39:11 -0400
commitafe76217f98b2fcb6d6e80bd732ba221c9bf7ae4 (patch)
treec906a9c99044aab15255d58798a1c570848cfa9a /src/libudev/util.h
parent6f8f3edfe8dd70e24105d889f664ff033eb0555e (diff)
Round 4 of remove unused functions from src/libudev/{hashmap,log,set,util}.c
We removed the following functions: hashmap_merge path_is_read_only_fs set_free_free set_free_freep readlink_malloc hexchar unhexchar octchar unoctchar format_timespan Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/util.h')
-rw-r--r--src/libudev/util.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libudev/util.h b/src/libudev/util.h
index 80a0c436ad..f98e6ee9ac 100644
--- a/src/libudev/util.h
+++ b/src/libudev/util.h
@@ -209,21 +209,12 @@ int read_one_line_file(const char *fn, char **line);
char *strappend(const char *s, const char *suffix);
char *strnappend(const char *s, const char *suffix, size_t length);
-int readlink_malloc(const char *p, char **r);
-
char *truncate_nl(char *s);
-char hexchar(int x) _const_;
-int unhexchar(char c) _const_;
-char octchar(int x) _const_;
-int unoctchar(char c) _const_;
-
bool dirent_is_file_with_suffix(const struct dirent *de, const char *suffix) _pure_;
bool ignore_file(const char *filename) _pure_;
-char *format_timespan(char *buf, size_t l, usec_t t);
-
/* For basic lookup tables with strictly enumerated entries */
#define __DEFINE_STRING_TABLE_LOOKUP(name,type,scope) \
scope const char *name##_to_string(type i) { \