Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fs/ntfs3: Add missing header and guards to lib/ headers

size_t needs header. Add missing header guards so that compiler will
only include these ones.

Signed-off-by: Kari Argillander <kari.argillander@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>

authored by

Kari Argillander and committed by
Konstantin Komarov
b6ba8103 f239b3a9

+11
+5
fs/ntfs3/lib/decompress_common.h
··· 5 5 * Copyright (C) 2015 Eric Biggers 6 6 */ 7 7 8 + #ifndef _LINUX_NTFS3_LIB_DECOMPRESS_COMMON_H 9 + #define _LINUX_NTFS3_LIB_DECOMPRESS_COMMON_H 10 + 8 11 #include <linux/string.h> 9 12 #include <linux/compiler.h> 10 13 #include <linux/types.h> ··· 339 336 340 337 return dst; 341 338 } 339 + 340 + #endif /* _LINUX_NTFS3_LIB_DECOMPRESS_COMMON_H */
+6
fs/ntfs3/lib/lib.h
··· 7 7 * - linux kernel code style 8 8 */ 9 9 10 + #ifndef _LINUX_NTFS3_LIB_LIB_H 11 + #define _LINUX_NTFS3_LIB_LIB_H 12 + 13 + #include <linux/types.h> 10 14 11 15 /* globals from xpress_decompress.c */ 12 16 struct xpress_decompressor *xpress_allocate_decompressor(void); ··· 28 24 const void *__restrict compressed_data, 29 25 size_t compressed_size, void *__restrict uncompressed_data, 30 26 size_t uncompressed_size); 27 + 28 + #endif /* _LINUX_NTFS3_LIB_LIB_H */