summaryrefslogtreecommitdiff
path: root/src/common/xdg.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-12-01 21:15:16 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-12-01 21:15:16 (GMT)
commit9b0389d37851ddfe36bb872063218aeaaa4ff383 (patch)
treeda29330a70a9c6ea97a34d356fd710c705a8b8fa /src/common/xdg.h
parent106e06d33196ca124d6d27cc00a5898d6f96121d (diff)
Moved the mkpath() function to a proper location.
Diffstat (limited to 'src/common/xdg.h')
-rw-r--r--src/common/xdg.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/common/xdg.h b/src/common/xdg.h
index a9aa254..19a507e 100644
--- a/src/common/xdg.h
+++ b/src/common/xdg.h
@@ -21,20 +21,14 @@
*/
-#ifndef _XDG_H
-#define _XDG_H
-
-
-#include <stdbool.h>
+#ifndef _COMMON_XDG_H
+#define _COMMON_XDG_H
/* Détermine le chemin d'un répertoire selon les specs. XDG. */
char *get_xdg_config_dir(const char *);
-/* S'assure que le chemin fourni est bien en place. */
-bool mkpath(const char *);
-
-#endif /* _XDG_H */
+#endif /* _COMMON_XDG_H */