X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Ftss_errno%2Ferrno.c;h=cf91ac5dd2da6189521011822cf2f26371dd12bc;hb=78b72007bdd0755f37a9696bd0a4f5f3cd0f6d28;hp=6a606fc1b40752afabc267ac3610e50a08730713;hpb=cce3efd57a644a1fa1ee8fcb14b6b934d40c10d2;p=pdclib diff --git a/opt/tss_errno/errno.c b/opt/tss_errno/errno.c index 6a606fc..cf91ac5 100644 --- a/opt/tss_errno/errno.c +++ b/opt/tss_errno/errno.c @@ -6,6 +6,7 @@ Permission is granted to use, modify, and / or redistribute at will. */ +#include #ifndef REGTEST #include @@ -13,7 +14,7 @@ static int _PDCLIB_errno = 0; -int * _PDCLIB_errno() +int * _PDCLIB_errno_func() { return &_PDCLIB_errno; } @@ -23,8 +24,6 @@ int * _PDCLIB_errno() #ifdef TEST #include <_PDCLIB_test.h> -#include - int main( void ) { errno = 0;