aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-06-08 06:42:28 +0000
committermerakor <cem@ckyln.com>2020-06-08 06:42:28 +0000
commita93b30f9e7d8958f8a3cba2f9f17ea6fb891d8b3 (patch)
tree136cb5ece39a28d69273a022fcf5baa70a1a8657
parente0c9665ae295136caaf9d86393c84353765222b0 (diff)
downloadcpt-a93b30f9e7d8958f8a3cba2f9f17ea6fb891d8b3.tar.gz
kiss-readlink: define realpath before main
FossilOrigin-Name: 410ad0469a0283f8177b6ee881b99da8f3450a9c6142108688383053f881eba7
-rw-r--r--bin/kiss-readlink.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/kiss-readlink.c b/bin/kiss-readlink.c
index 1bca058..a87da0e 100644
--- a/bin/kiss-readlink.c
+++ b/bin/kiss-readlink.c
@@ -7,6 +7,8 @@
#include <libgen.h>
#include <string.h>
+char *realpath(const char *path, char *resolved_path);
+
int main(int argc, char *argv[]) {
char buf[512];