return 1;
}
-int * const _yk_errno_location(void)
+int * _yk_errno_location(void)
{
static int tsd_init = 0;
static int nothread_errno = 0;
* Error handling fuctions
*
****/
-extern int * const _yk_errno_location(void);
+extern int * _yk_errno_location(void);
#define yk_errno (*_yk_errno_location())
const char *yk_strerror(int errnum);
/* The following function is only useful if yk_errno == YK_EUSBERR and
return 0;
}
-int * const _ykp_errno_location(void)
+int * _ykp_errno_location(void)
{
static int tsd_init = 0;
static int nothread_errno = 0;
int ykp_command(YKP_CONFIG *cfg);
int ykp_config_num(YKP_CONFIG *cfg);
-extern int * const _ykp_errno_location(void);
+extern int * _ykp_errno_location(void);
#define ykp_errno (*_ykp_errno_location())
const char *ykp_strerror(int errnum);