mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 21:21:41 +00:00
fs/ntfs3. Add forward declarations for structs to debug.h
Add forward declarations for structs so that we can include this file without warnings even without linux/fs.h Signed-off-by: Kari Argillander <kari.argillander@gmail.com> Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
This commit is contained in:
parent
0327c6d01a
commit
cde81f13ef
@ -11,6 +11,9 @@
|
|||||||
#ifndef _LINUX_NTFS3_DEBUG_H
|
#ifndef _LINUX_NTFS3_DEBUG_H
|
||||||
#define _LINUX_NTFS3_DEBUG_H
|
#define _LINUX_NTFS3_DEBUG_H
|
||||||
|
|
||||||
|
struct super_block;
|
||||||
|
struct inode;
|
||||||
|
|
||||||
#ifndef Add2Ptr
|
#ifndef Add2Ptr
|
||||||
#define Add2Ptr(P, I) ((void *)((u8 *)(P) + (I)))
|
#define Add2Ptr(P, I) ((void *)((u8 *)(P) + (I)))
|
||||||
#define PtrOffset(B, O) ((size_t)((size_t)(O) - (size_t)(B)))
|
#define PtrOffset(B, O) ((size_t)((size_t)(O) - (size_t)(B)))
|
||||||
|
Loading…
Reference in New Issue
Block a user