]> git.ipfire.org Git - thirdparty/json-c.git/commit
fix compilation with clang 689/head
authorRosen Penev <rosenp@gmail.com>
Fri, 18 Dec 2020 03:59:37 +0000 (19:59 -0800)
committerGitHub <noreply@github.com>
Fri, 18 Dec 2020 03:59:37 +0000 (19:59 -0800)
commit987d3b2c86748299f2ceb83345264c6aaa8e1db6
tree32de9a688ba3da87f7ee68a14822a8f8708b3f98
parentdf27756491abf9ecce648c3aa85d6a70feb4c600
fix compilation with clang

Fixes the following warning:

json_pointer.c:230:7: warning: implicit declaration of function
    'vasprintf' is invalid in C99 [-Wimplicit-function-declaration]
            rc = vasprintf(&path_copy, path_fmt, args);
CMakeLists.txt