From 198e1d1de7c001f20d58ff2ea33bac5d0da6f7c7 Mon Sep 17 00:00:00 2001 From: Owen Shepherd Date: Mon, 7 Jan 2013 15:23:08 +0000 Subject: [PATCH] tss_errno: _PDCLIB_errno_func() --- opt/tss_errno/errno.c | 2 +- opt/tss_errno/errno.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/opt/tss_errno/errno.c b/opt/tss_errno/errno.c index 6a606fc..f70b464 100644 --- a/opt/tss_errno/errno.c +++ b/opt/tss_errno/errno.c @@ -13,7 +13,7 @@ static int _PDCLIB_errno = 0; -int * _PDCLIB_errno() +int * _PDCLIB_errno_func() { return &_PDCLIB_errno; } diff --git a/opt/tss_errno/errno.h b/opt/tss_errno/errno.h index 37da36f..47b2022 100644 --- a/opt/tss_errno/errno.h +++ b/opt/tss_errno/errno.h @@ -9,8 +9,8 @@ #include <_PDCLIB_int.h> _PDCLIB_BEGIN_EXTERN_C -extern int * _PDCLIB_errno( void ); -#define errno (*_PDCLIB_errno()) +extern int * _PDCLIB_errno_func( void ); +#define errno (*_PDCLIB_errno_func()) /* C99 */ #define ERANGE _PDCLIB_ERANGE -- 2.40.0