X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=opt%2Ftss_errno%2Ferrno.c;fp=functions%2F_PDCLIB%2Ferrno.c;h=6a606fc1b40752afabc267ac3610e50a08730713;hb=8c3db524fec3b6bb85d2a2cc5cd889a63405e5f1;hp=4facee58ad5ef33f7452fcceeaef956253ace0e7;hpb=8412c0610911d2d1686bf31462d39446e9b5dbdf;p=pdclib.old diff --git a/functions/_PDCLIB/errno.c b/opt/tss_errno/errno.c similarity index 84% rename from functions/_PDCLIB/errno.c rename to opt/tss_errno/errno.c index 4facee5..6a606fc 100644 --- a/functions/_PDCLIB/errno.c +++ b/opt/tss_errno/errno.c @@ -7,11 +7,13 @@ */ #ifndef REGTEST -#include <_PDCLIB_int.h> +#include -int _PDCLIB_errno = 0; +/* Temporary */ -int * _PDCLIB_errno_func() +static int _PDCLIB_errno = 0; + +int * _PDCLIB_errno() { return &_PDCLIB_errno; }