X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fnfs%2Fpdu.c;h=e499d58b5bb38f34af7371b6b9f207949ae171fd;hp=0f32d7e074fbec8b774bb704fb36fd726d65bc52;hb=bf57898eae29d70a166bf2df5c84601729f039ac;hpb=f91748e6a99dfd3b6565aed4e98e84b4365eb9c2 diff --git a/ccan/nfs/pdu.c b/ccan/nfs/pdu.c index 0f32d7e0..e499d58b 100644 --- a/ccan/nfs/pdu.c +++ b/ccan/nfs/pdu.c @@ -1,4 +1,4 @@ -/* +/* Copyright (C) by Ronnie Sahlberg 2010 This program is free software; you can redistribute it and/or modify @@ -19,8 +19,9 @@ #include #include #include +#include #include "dlinklist.h" -#include "libnfs.h" +#include "nfs.h" #include "libnfs-raw.h" #include "libnfs-private.h" @@ -69,7 +70,7 @@ struct rpc_pdu *rpc_allocate_pdu(struct rpc_context *rpc, int program, int versi return pdu; } -void rpc_free_pdu(struct rpc_context *rpc _U_, struct rpc_pdu *pdu) +void rpc_free_pdu(struct rpc_context *rpc UNUSED, struct rpc_pdu *pdu) { if (pdu->outdata.data != NULL) { free(pdu->outdata.data);