mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 07:15:58 +08:00
RPC(3): Port to RTEMS
This commit is contained in:
@@ -67,5 +67,10 @@
|
||||
#define _getpeername getpeername
|
||||
#define _getprogname getprogname
|
||||
#define _getsockname getsockname
|
||||
#ifdef __rtems__
|
||||
#define _pthread_mutex_lock pthread_mutex_lock
|
||||
#define _getsockopt getsockopt
|
||||
#define _bind bind
|
||||
#endif /* __rtems__ */
|
||||
|
||||
#endif /* _NAMESPACE_H_ */
|
||||
|
@@ -1038,7 +1038,7 @@ done:
|
||||
*
|
||||
* Assuming that the address is all properly allocated
|
||||
*/
|
||||
int
|
||||
bool_t
|
||||
rpcb_getaddr(program, version, nconf, address, host)
|
||||
rpcprog_t program;
|
||||
rpcvers_t version;
|
||||
|
Reference in New Issue
Block a user