diff options
author | madblobfish <madblobfish@users.noreply.github.com> | 2018-10-27 17:48:11 +0200 |
---|---|---|
committer | madblobfish <madblobfish@users.noreply.github.com> | 2018-10-31 13:04:08 +0100 |
commit | 1f23ec2d050976d6f2dafd545302e9be3f821c81 (patch) | |
tree | 25c6eb676df0e90303dd659f03364d77c4febe15 /include/util.h | |
parent | Merge pull request #3033 from RyanDwyer/remove-movement-direction (diff) | |
download | sway-1f23ec2d050976d6f2dafd545302e9be3f821c81.tar.gz sway-1f23ec2d050976d6f2dafd545302e9be3f821c81.tar.zst sway-1f23ec2d050976d6f2dafd545302e9be3f821c81.zip |
Revert "Add resolve_path() to utils"
This reverts commit c9694ee63d451da62dc50b234b3080a35a40e844.
Diffstat (limited to 'include/util.h')
-rw-r--r-- | include/util.h | 9 |
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 | */ |
60 | bool parse_boolean(const char *boolean, bool current); | 60 | bool 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 | */ | ||
69 | char* resolve_path(const char* path); | ||
70 | |||
71 | #endif | 62 | #endif |