X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Ftss_errno%2Ferrno.c;h=df07747f252295bc12da72d7e691c173f8b2e385;hb=e1c526e9bad3f6e69391e94059096145390508d3;hp=6a606fc1b40752afabc267ac3610e50a08730713;hpb=cce3efd57a644a1fa1ee8fcb14b6b934d40c10d2;p=pdclib diff --git a/opt/tss_errno/errno.c b/opt/tss_errno/errno.c index 6a606fc..df07747 100644 --- a/opt/tss_errno/errno.c +++ b/opt/tss_errno/errno.c @@ -1,11 +1,10 @@ -/* $Id$ */ - /* _PDCLIB_errno This file is part of the Public Domain C Library (PDCLib). Permission is granted to use, modify, and / or redistribute at will. */ +#include #ifndef REGTEST #include @@ -13,7 +12,7 @@ static int _PDCLIB_errno = 0; -int * _PDCLIB_errno() +int * _PDCLIB_errno_func() { return &_PDCLIB_errno; } @@ -23,8 +22,6 @@ int * _PDCLIB_errno() #ifdef TEST #include <_PDCLIB_test.h> -#include - int main( void ) { errno = 0;