From 1f4865f55786b7db073c6f69d642fde20f39acbd Mon Sep 17 00:00:00 2001 From: brarcher Date: Wed, 30 Jul 2014 12:49:08 +0000 Subject: [PATCH] tests: add prototype for escape_percent() clang++ emitted an error if the prototype was not present git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1184 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- tests/check_check_master.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/check_check_master.c b/tests/check_check_master.c index 1fe409b..0484488 100644 --- a/tests/check_check_master.c +++ b/tests/check_check_master.c @@ -278,6 +278,7 @@ END_TEST * that the returned string is allocated memory that * must be freed by the caller. */ +char * escape_percent(const char *original, size_t original_size); char * escape_percent(const char *original, size_t original_size) { /* In the worst case every character is a %*/ -- 2.50.1