Blame SOURCES/0048-fs-ntfs3-Change-right-headers-to-bitfunc.c.patch
|
Kmods SIG |
d83023 |
From c632f639d1d9bb3e379741a30c6882342d859daf Mon Sep 17 00:00:00 2001
|
|
Kmods SIG |
d83023 |
From: Kari Argillander <kari.argillander@gmail.com>
|
|
Kmods SIG |
d83023 |
Date: Thu, 2 Sep 2021 19:15:25 +0300
|
|
Kmods SIG |
d83023 |
Subject: [Backport c632f639d1d9] src: Change right headers to bitfunc.c
|
|
Kmods SIG |
d83023 |
|
|
Kmods SIG |
d83023 |
We only need linux/types.h for types like u8 etc. So we can remove rest
|
|
Kmods SIG |
d83023 |
and help compiler a little bit.
|
|
Kmods SIG |
d83023 |
|
|
Kmods SIG |
d83023 |
Signed-off-by: Kari Argillander <kari.argillander@gmail.com>
|
|
Kmods SIG |
d83023 |
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
|
|
Kmods SIG |
d83023 |
---
|
|
Kmods SIG |
d83023 |
src/bitfunc.c | 7 +------
|
|
Kmods SIG |
d83023 |
1 file changed, 1 insertion(+), 6 deletions(-)
|
|
Kmods SIG |
d83023 |
|
|
Kmods SIG |
d83023 |
diff --git a/src/bitfunc.c b/src/bitfunc.c
|
|
Kmods SIG |
d83023 |
index ce304d40b5e1642cc84d48143e2aa961ac3ea735..bf10e2da5c6e3d29d3788055b2b664927cc9f29b 100644
|
|
Kmods SIG |
d83023 |
--- a/src/bitfunc.c
|
|
Kmods SIG |
d83023 |
+++ b/src/bitfunc.c
|
|
Kmods SIG |
d83023 |
@@ -5,13 +5,8 @@
|
|
Kmods SIG |
d83023 |
*
|
|
Kmods SIG |
d83023 |
*/
|
|
Kmods SIG |
d83023 |
|
|
Kmods SIG |
d83023 |
-#include <linux/blkdev.h>
|
|
Kmods SIG |
d83023 |
-#include <linux/buffer_head.h>
|
|
Kmods SIG |
d83023 |
-#include <linux/fs.h>
|
|
Kmods SIG |
d83023 |
-#include <linux/nls.h>
|
|
Kmods SIG |
d83023 |
+#include <linux/types.h>
|
|
Kmods SIG |
d83023 |
|
|
Kmods SIG |
d83023 |
-#include "debug.h"
|
|
Kmods SIG |
d83023 |
-#include "ntfs.h"
|
|
Kmods SIG |
d83023 |
#include "ntfs_fs.h"
|
|
Kmods SIG |
d83023 |
|
|
Kmods SIG |
d83023 |
#define BITS_IN_SIZE_T (sizeof(size_t) * 8)
|
|
Kmods SIG |
d83023 |
--
|
|
Kmods SIG |
d83023 |
2.31.1
|
|
Kmods SIG |
d83023 |
|