RPC(3): Port to RTEMS

This commit is contained in:
Sebastian Huber
2016-06-09 10:48:05 +02:00
parent 60b1d40751
commit 9880635f2e
9 changed files with 166 additions and 24 deletions

View File

@@ -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_ */

View File

@@ -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;