chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
macro: introduce _cleanup_free_ macro for automatic freeing of scoped vars and make...
[elogind.git]
/
src
/
shared
/
util.h
diff --git
a/src/shared/util.h
b/src/shared/util.h
index 19edf98355d3f3c0913e1a41797bb0a19e59c8b7..770a0082239cd8c949eb4472f87a0239971b4195 100644
(file)
--- a/
src/shared/util.h
+++ b/
src/shared/util.h
@@
-528,3
+528,6
@@
void warn_melody(void);
int get_shell(char **ret);
int get_home_dir(char **ret);
int get_shell(char **ret);
int get_home_dir(char **ret);
+
+void freep(void *p);
+void fclosep(FILE **f);