X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fstrlen.c;h=c1a620e7eaa0bedf2d8190bdf9021f183caf505f;hb=7517a992da74749b360ee20aa14febcc3cf314d5;hp=17ab3cfd948b4331b43904a9f8f959b6db011347;hpb=40d0246771c8e593d4b5fdc97dd87b4afd260be2;p=pdclib diff --git a/functions/string/strlen.c b/functions/string/strlen.c index 17ab3cf..c1a620e 100644 --- a/functions/string/strlen.c +++ b/functions/string/strlen.c @@ -1,7 +1,3 @@ -/* $Id$ */ - -/* Release $Name$ */ - /* strlen( const char * ) This file is part of the Public Domain C Library (PDCLib). @@ -25,13 +21,14 @@ size_t strlen( const char * s ) #endif #ifdef TEST -#include <_PDCLIB_test.h> -int main() +#include "_PDCLIB_test.h" + +int main( void ) { - BEGIN_TESTS; TESTCASE( strlen( abcde ) == 5 ); TESTCASE( strlen( "" ) == 0 ); return TEST_RESULTS; } + #endif