mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04: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
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue