From: Alexander Shishkin Date: Thu, 13 Jan 2011 01:01:09 +0000 (-0800) Subject: cramfs: hide function prototypes behind __KERNEL__ macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=beeae05138baf615a0284fc4a9022c33271ee37c;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git cramfs: hide function prototypes behind __KERNEL__ macro Currently, 3 kernel function prototypes are present in a header file exported to userland. This patch fixes it. Signed-off-by: Alexander Shishkin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/cramfs_fs.h b/include/linux/cramfs_fs.h index 6fc2bed368b..0e7bf272ec2 100644 --- a/include/linux/cramfs_fs.h +++ b/include/linux/cramfs_fs.h @@ -84,9 +84,11 @@ struct cramfs_super { | CRAMFS_FLAG_WRONG_SIGNATURE \ | CRAMFS_FLAG_SHIFTED_ROOT_OFFSET ) +#ifdef __KERNEL__ /* Uncompression interfaces to the underlying zlib */ int cramfs_uncompress_block(void *dst, int dstlen, void *src, int srclen); int cramfs_uncompress_init(void); void cramfs_uncompress_exit(void); +#endif /* __KERNEL__ */ #endif