summaryrefslogtreecommitdiff
path: root/include/rpc/auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rpc/auth.h')
-rw-r--r--include/rpc/auth.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rpc/auth.h b/include/rpc/auth.h
index 1d5198ca4..e2c7987dc 100644
--- a/include/rpc/auth.h
+++ b/include/rpc/auth.h
@@ -96,6 +96,10 @@ struct AUTH {
struct opaque_auth ah_cred;
struct opaque_auth ah_verf;
union des_block ah_key;
+ /* not sure whether non-const-ness is a part of the spec... if it is,
+ * enclose "const" in #ifdef _LIBC / #endif
+ * to make it effective only for libc compile */
+ const
struct auth_ops {
void (*ah_nextverf) (AUTH *);
int (*ah_marshal) (AUTH *, XDR *); /* nextverf & serialize */