From: brarcher Date: Wed, 30 Jul 2014 12:49:08 +0000 (+0000) Subject: tests: add prototype for escape_percent() X-Git-Tag: 0.10.0~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f4865f55786b7db073c6f69d642fde20f39acbd;p=check 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 --- 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 %*/