X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2F_PDCLIB%2Ferrno.c;h=6fc1d66466d91707265d1ebf7b7b270d77aa9664;hb=9cec7431df34ee2c03a6a81e4c41a198fc5b1bc7;hp=4cf5ea5b1458984fcaef019189cffcb496e98d7a;hpb=d6f1494a4f38a212b29a13ee713885058dcf0fe7;p=pdclib diff --git a/functions/_PDCLIB/errno.c b/functions/_PDCLIB/errno.c index 4cf5ea5..6fc1d66 100644 --- a/functions/_PDCLIB/errno.c +++ b/functions/_PDCLIB/errno.c @@ -4,10 +4,10 @@ Permission is granted to use, modify, and / or redistribute at will. */ -#include "_PDCLIB_int.h" - #ifndef REGTEST +#include "_PDCLIB_int.h" + int _PDCLIB_errno = 0; int * _PDCLIB_errno_func() @@ -18,6 +18,7 @@ int * _PDCLIB_errno_func() #endif #ifdef TEST + #include "_PDCLIB_test.h" #include @@ -34,4 +35,3 @@ int main( void ) } #endif -