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