aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2011-06-20 19:29:58 +0200
committerMemphiz <memphis@machzwo.de>2011-06-20 19:31:54 +0200
commitf7625b7fe8039d9a0b5807d282422262cc55c1d6 (patch)
treee73fdfd06f0e444b4ab46f672e2e7a306d22e458 /tools
parent7f0b2ad8881252e2b34a92701c71fba5f0c66deb (diff)
[fix] - fixed struct AUTH and typedef ... anonymous structs are evil
Diffstat (limited to 'tools')
-rw-r--r--tools/darwin/depends/libnfs/rpcinc/auth.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/darwin/depends/libnfs/rpcinc/auth.h b/tools/darwin/depends/libnfs/rpcinc/auth.h
index 1f9394efe0..97a289c821 100644
--- a/tools/darwin/depends/libnfs/rpcinc/auth.h
+++ b/tools/darwin/depends/libnfs/rpcinc/auth.h
@@ -123,7 +123,7 @@ struct opaque_auth {
/*
* Auth handle, interface to client side authenticators.
*/
-typedef struct {
+struct AUTH{
struct opaque_auth ah_cred;
struct opaque_auth ah_verf;
union des_block ah_key;
@@ -144,7 +144,8 @@ typedef struct {
#endif
} *ah_ops;
caddr_t ah_private;
-} AUTH;
+};
+typedef struct AUTH AUTH;
/*