Get rid of AUTH completely and replace all uses with 'struct AUTH'
[deb_libnfs.git] / lib / init.c
index 4c8f84f42308ea61c131089d4d35cc8d9b670720..936cc8b217884b95eea1587756cde3025bd4ac0a 100644 (file)
@@ -24,9 +24,8 @@
 #include <stdarg.h>
 #include <string.h>
 #include <stdlib.h>
-#include <rpc/rpc.h>
-#include <rpc/xdr.h>
 #include "slist.h"
+#include "libnfs-zdr.h"
 #include "libnfs.h"
 #include "libnfs-raw.h"
 #include "libnfs-private.h"
@@ -77,7 +76,7 @@ struct rpc_context *rpc_init_udp_context(void)
        return rpc;
 }
 
-void rpc_set_auth(struct rpc_context *rpc, AUTH *auth)
+void rpc_set_auth(struct rpc_context *rpc, struct AUTH *auth)
 {
        if (rpc->auth != NULL) {
                auth_destroy(rpc->auth);