unifdef -D_THREAD_SAFE
This commit is contained in:
parent
1746ea2b02
commit
3fe5b5db73
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109773
@ -468,14 +468,10 @@ struct rpc_createerr {
|
||||
struct rpc_err cf_error; /* useful when cf_stat == RPC_PMAPFAILURE */
|
||||
};
|
||||
|
||||
#ifdef _THREAD_SAFE
|
||||
__BEGIN_DECLS
|
||||
extern struct rpc_createerr *__rpc_createerr(void);
|
||||
__END_DECLS
|
||||
#define rpc_createerr (*(__rpc_createerr()))
|
||||
#else
|
||||
extern struct rpc_createerr rpc_createerr;
|
||||
#endif /* _THREAD_SAFE */
|
||||
|
||||
/*
|
||||
* The simplified interface:
|
||||
|
Loading…
Reference in New Issue
Block a user