]> pd.if.org Git - pdclib/blobdiff - functions/_PDCLIB/prepwrite.c
Improper test code handling uncovered by Owen at osdev.org
[pdclib] / functions / _PDCLIB / prepwrite.c
index 774aeb21b29722917a3b18d2a41f9e75d75f7c5a..c5a4c127543b40b14f016c60b3ac0fd04272538d 100644 (file)
@@ -22,3 +22,14 @@ int _PDCLIB_prepwrite( struct _PDCLIB_file_t * stream )
     return 0;
 }
 
+#ifdef TEST
+#include <_PDCLIB_test.h>
+
+int main( void )
+{
+    /* Testing covered by ftell.c */
+    return TEST_RESULTS;
+}
+
+#endif
+