summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-14 10:06:42 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-14 10:06:42 +0200
commite67f47e55b850c2a3a52c550726b1fd7394f9276 (patch)
tree86b94a315a768a20573828d958de9ca9c217b9a4 /src/shared/util.h
parent71dc3ed1d95dfe246004018c2ca85156fc73c146 (diff)
util: modernize a few functions with automatic cleanup variables
Just trying to get the feel for it. And it's pretty cool.
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index 770a008223..90234eb27b 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -531,3 +531,4 @@ int get_home_dir(char **ret);
void freep(void *p);
void fclosep(FILE **f);
+void closep(int *fd);