tree-wide: remove various unused functions

All found with "cppcheck --enable=unusedFunction".
This commit is contained in:
Lennart Poettering
2018-12-02 13:35:34 +09:00
committed by Yu Watanabe
parent c26ae3013d
commit 5dd9527883
23 changed files with 0 additions and 391 deletions
-4
View File
@@ -479,10 +479,6 @@ finish:
return r;
}
int fd_patch_uid(int fd, uid_t shift, uid_t range) {
return fd_patch_uid_internal(fd, false, shift, range);
}
int path_patch_uid(const char *path, uid_t shift, uid_t range) {
int fd;
-1
View File
@@ -4,5 +4,4 @@
#include <sys/types.h>
int fd_patch_uid(int fd, uid_t shift, uid_t range);
int path_patch_uid(const char *path, uid_t shift, uid_t range);