]> pd.if.org Git - pdclib/blobdiff - functions/string/strcmp.c
Added dummy test drivers to each *.c file, and target 'test' to Makefile.
[pdclib] / functions / string / strcmp.c
index 59cc1d83d876e2c60dbf008a138d7bf9fc39f90f..f6a555b56de7d0076c425a472466e393bec43685 100644 (file)
@@ -17,3 +17,12 @@ int strcmp( const char * s1, const char * s2 )
     }
     return ( *s1 - *s2 );
 }
+
+#warning Test driver missing.
+
+#ifdef TEST
+int main()
+{
+    return 0;
+}
+#endif