mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
sunrpc: remove __KERNEL__ ifdefs
Remove the __KERNEL__ ifdefs from the non-UAPI sunrpc headers, as those can't be included from user space programs. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
581ae686f2
commit
d05a020196
12 changed files with 0 additions and 36 deletions
|
@ -10,8 +10,6 @@
|
|||
#ifndef _LINUX_SUNRPC_AUTH_H
|
||||
#define _LINUX_SUNRPC_AUTH_H
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/sunrpc/sched.h>
|
||||
#include <linux/sunrpc/msg_prot.h>
|
||||
#include <linux/sunrpc/xdr.h>
|
||||
|
@ -194,5 +192,4 @@ struct rpc_cred *get_rpccred(struct rpc_cred *cred)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
#endif /* _LINUX_SUNRPC_AUTH_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue