]> pd.if.org Git - pdclib.old/blobdiff - functions/string/strcmp.c
Removed the $Name$ tags (not supported by SVN). Added $Id$ to Makefile / text files.
[pdclib.old] / functions / string / strcmp.c
index 6519b01d6c65733d71cb3529e6bd9f6142732ee9..42ed51c01c86d5b96a9a62270d35015185694179 100644 (file)
@@ -1,7 +1,5 @@
 /* $Id$ */
 
-/* Release $Name$ */
-
 /* strcmp( const char *, const char * )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -27,11 +25,10 @@ int strcmp( const char * s1, const char * s2 )
 #ifdef TEST
 #include <_PDCLIB_test.h>
 
-int main()
+int main( void )
 {
     char cmpabcde[] = "abcde";
     char empty[] = "";
-    BEGIN_TESTS;
     TESTCASE( strcmp( abcde, cmpabcde ) == 0 );
     TESTCASE( strcmp( abcde, abcdx ) < 0 );
     TESTCASE( strcmp( abcdx, abcde ) > 0 );