summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-10-31 14:48:17 +0100
committerLibravatar GitHub <noreply@github.com>2018-10-31 14:48:17 +0100
commite9c136b0eece9369622baaca9656307a919b3547 (patch)
tree8cfcd8e119b0fc546d75a6d18dbe53f705e4a63c /include
parentUpdate ISSUE_TEMPLATE.md (diff)
parentRevert "Add resolve_path() to utils" (diff)
downloadsway-e9c136b0eece9369622baaca9656307a919b3547.tar.gz
sway-e9c136b0eece9369622baaca9656307a919b3547.tar.zst
sway-e9c136b0eece9369622baaca9656307a919b3547.zip
Merge pull request #3027 from madblobfish/remove-resolve_path
Remove resolve_path() from utils
Diffstat (limited to 'include')
-rw-r--r--include/util.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/util.h b/include/util.h
index c39c92b1..56ca2eb8 100644
--- a/include/util.h
+++ b/include/util.h
@@ -59,13 +59,4 @@ uint32_t parse_color(const char *color);
59 */ 59 */
60bool parse_boolean(const char *boolean, bool current); 60bool parse_boolean(const char *boolean, bool current);
61 61
62/**
63 * Given a path string, recurseively resolves any symlinks to their targets
64 * (which may be a file, directory) and returns the result.
65 * argument is returned. Caller must free the returned buffer.
66 * If an error occures, if the path does not exist or if the path corresponds
67 * to a dangling symlink, NULL is returned.
68 */
69char* resolve_path(const char* path);
70
71#endif 62#endif