diff options
author | Theodore Ts'o <tytso@mit.edu> | 2015-07-12 23:09:15 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2015-07-12 23:09:15 -0400 |
commit | aee40b870cd70a884fd98a56d9c956945584b429 (patch) | |
tree | 414a1c60991d0737ca0fa123ffb11b7ceed99356 /lib/uuid | |
parent | f1644c324bd6bc0ed8f48275d64ccde4ce13a044 (diff) | |
download | e2fsprogs-aee40b870cd70a884fd98a56d9c956945584b429.tar.gz |
Eliminate unused function warnings from Android build
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'lib/uuid')
-rw-r--r-- | lib/uuid/gen_uuid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/uuid/gen_uuid.c b/lib/uuid/gen_uuid.c index 22b45134..e89cccce 100644 --- a/lib/uuid/gen_uuid.c +++ b/lib/uuid/gen_uuid.c @@ -425,6 +425,7 @@ try_again: return 0; } +#if defined(USE_UUIDD) && defined(HAVE_SYS_UN_H) static ssize_t read_all(int fd, char *buf, size_t count) { ssize_t ret; @@ -475,7 +476,7 @@ static void close_all_fds(void) open("/dev/null", O_RDWR); } } - +#endif /* defined(USE_UUIDD) && defined(HAVE_SYS_UN_H) */ /* * Try using the uuidd daemon to generate the UUID |