nfsclient: Fix warnings

This commit is contained in:
Sebastian Huber
2013-06-04 15:43:39 +02:00
parent 442db915f8
commit a2854fd55e
2 changed files with 3 additions and 8 deletions

View File

@@ -1052,7 +1052,7 @@ enum clnt_stat err;
return RPC_SUCCESS;
}
void
static void
rpcUdpClntDestroy(RpcUdpClnt xact)
{
rpcUdpServerDestroy(xact->server);

View File

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