aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-headerparser/test_headers
diff options
context:
space:
mode:
Diffstat (limited to 'tools/syz-headerparser/test_headers')
-rw-r--r--tools/syz-headerparser/test_headers/th_a.h4
-rw-r--r--tools/syz-headerparser/test_headers/th_b.h10
2 files changed, 7 insertions, 7 deletions
diff --git a/tools/syz-headerparser/test_headers/th_a.h b/tools/syz-headerparser/test_headers/th_a.h
index f2afc8752..a0d0bd195 100644
--- a/tools/syz-headerparser/test_headers/th_a.h
+++ b/tools/syz-headerparser/test_headers/th_a.h
@@ -8,8 +8,8 @@
#define RANDOM_MACRO_2 2
struct A {
- struct B *B_item;
- const char *char_ptr;
+ struct B* B_item;
+ const char* char_ptr;
unsigned int an_unsigned_int;
/*
* Some comments
diff --git a/tools/syz-headerparser/test_headers/th_b.h b/tools/syz-headerparser/test_headers/th_b.h
index 4b32e6041..7a42735fe 100644
--- a/tools/syz-headerparser/test_headers/th_b.h
+++ b/tools/syz-headerparser/test_headers/th_b.h
@@ -4,11 +4,11 @@
#ifndef _TEST_HEADER_B
#define _TEST_HEADER_B
-#include <linux/types.h> /* header comment */
+#include <linux/types.h> /* header comment */
enum random_enum {
- ONE = 1<<0,
- TWO = 1<<1,
+ ONE = 1 << 0,
+ TWO = 1 << 1,
};
struct B {
@@ -19,8 +19,8 @@ struct B {
struct struct_containing_union {
int something;
union {
- char *a_char;
- struct B *B_ptr;
+ char* a_char;
+ struct B* B_ptr;
} a_union;
};