chiark / gitweb /
macro: introduce _cleanup_free_ macro for automatic freeing of scoped vars and make...
[elogind.git] / src / shared / util.h
index 19edf98355d3f3c0913e1a41797bb0a19e59c8b7..770a0082239cd8c949eb4472f87a0239971b4195 100644 (file)
@@ -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);