diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2013-03-06 14:44:51 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2013-03-08 10:09:31 +0100 |
commit | a740c14c59907f370a6b3a3ba5a86fada88cb07e (patch) | |
tree | 6626ba3154af9ac3f050a53149586f0bf305befa /src/shared/util.c | |
parent | 5f1be48b264e4d556f688062cc6f4a1e03f9f455 (diff) |
shared: inline trivial auto-cleanup functions
Diffstat (limited to 'src/shared/util.c')
-rw-r--r-- | src/shared/util.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/shared/util.c b/src/shared/util.c index c493a34877..594f8de755 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -5237,10 +5237,6 @@ int get_shell(char **_sh) { return 0; } -void freep(void *p) { - free(*(void**) p); -} - void fclosep(FILE **f) { if (*f) fclose(*f); @@ -5261,10 +5257,6 @@ void closedirp(DIR **d) { closedir(*d); } -void umaskp(mode_t *u) { - umask(*u); -} - bool filename_is_safe(const char *p) { if (isempty(p)) |