X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Ftss_errno%2Ferrno.c;h=75a564fbfd2033356944a2b49616c6e498835b75;hp=6a606fc1b40752afabc267ac3610e50a08730713;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=cce3efd57a644a1fa1ee8fcb14b6b934d40c10d2 diff --git a/opt/tss_errno/errno.c b/opt/tss_errno/errno.c index 6a606fc..75a564f 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; } @@ -21,9 +20,7 @@ int * _PDCLIB_errno() #endif #ifdef TEST -#include <_PDCLIB_test.h> - -#include +#include "_PDCLIB_test.h" int main( void ) {