X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstring%2Fmemset.c;h=4946ec487812e3bd681ea0fe91da4520ce7f8d64;hp=4abb466ebd763b5ef8cdfcdcc91a96037e8c4729;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=40d0246771c8e593d4b5fdc97dd87b4afd260be2 diff --git a/functions/string/memset.c b/functions/string/memset.c index 4abb466..4946ec4 100644 --- a/functions/string/memset.c +++ b/functions/string/memset.c @@ -1,7 +1,3 @@ -/* $Id$ */ - -/* Release $Name$ */ - /* memset( void *, int, size_t ) This file is part of the Public Domain C Library (PDCLib). @@ -25,12 +21,11 @@ void * memset( void * s, int c, size_t n ) #endif #ifdef TEST -#include <_PDCLIB_test.h> +#include "_PDCLIB_test.h" -int main() +int main( void ) { char s[] = "xxxxxxxxx"; - BEGIN_TESTS; TESTCASE( memset( s, 'o', 10 ) == s ); TESTCASE( s[9] == 'o' ); TESTCASE( memset( s, '_', 0 ) == s );