forked from Imagelibrary/rtems
nfsclient: Fix warnings
This commit is contained in:
@@ -1052,7 +1052,7 @@ enum clnt_stat err;
|
||||
return RPC_SUCCESS;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
rpcUdpClntDestroy(RpcUdpClnt xact)
|
||||
{
|
||||
rpcUdpServerDestroy(xact->server);
|
||||
|
||||
@@ -63,16 +63,14 @@
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifdef __rtems
|
||||
#include <rtems.h>
|
||||
#endif
|
||||
|
||||
#include <rpc/rpc.h>
|
||||
#include <errno.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/param.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "librtemsNfs.h"
|
||||
|
||||
typedef struct RpcUdpServerRec_ *RpcUdpServer;
|
||||
typedef struct RpcUdpXactRec_ *RpcUdpXact;
|
||||
|
||||
@@ -80,9 +78,6 @@ typedef RpcUdpXact RpcUdpClnt;
|
||||
|
||||
#define RPCIOD_DEFAULT_ID 0xdef10000
|
||||
|
||||
int
|
||||
rpcUdpInit(void);
|
||||
|
||||
enum clnt_stat
|
||||
rpcUdpServerCreate(
|
||||
struct sockaddr_in *paddr,
|
||||
|
||||
Reference in New Issue
Block a user