X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fnothread%2Fmtx_destroy.c;h=587b525cd880c57a368272d29dcdb8461e63db61;hp=75baec274ddce20c2c4a15b1d142a85a6e31086d;hb=abc15df6b9fae3374d24c7cf5c3ab94c605b2a6d;hpb=5155ca96295a12b4857fc0e6a9629cc43a9a85fa diff --git a/opt/nothread/mtx_destroy.c b/opt/nothread/mtx_destroy.c index 75baec2..587b525 100644 --- a/opt/nothread/mtx_destroy.c +++ b/opt/nothread/mtx_destroy.c @@ -1,14 +1,16 @@ -#include - -void mtx_destroy(mtx_t *mtx) -{} - -#ifdef TEST -#include <_PDCLIB_test.h> - -int main( void ) -{ - return TEST_RESULTS; -} - -#endif \ No newline at end of file +#ifndef REGTEST +#include + +void mtx_destroy(mtx_t *mtx) +{} +#endif + +#ifdef TEST +#include "_PDCLIB_test.h" + +int main( void ) +{ + return TEST_RESULTS; +} + +#endif