tree-wide: move unsigned to the start of type declaration
Even though ISO C11 doesn't mandate in which order the type specifiers should appear, having `unsigned` at the beginning of each type declaration feels more natural and, more importantly, it unbreaks Coccinelle, which has a hard time parsing `long unsigned` and others: ``` init_defs_builtins: /usr/lib64/coccinelle/standard.h init_defs: /home/mrc0mmand/repos/systemd/coccinelle/macros.h HANDLING: src/shared/mount-util.c : 1: strange type1, maybe because of weird order: long unsigned ``` Most of the codebase already "complies", so let's fix the remaining "offenders".
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
4ba5594390
commit
da185cd04d
@@ -16,7 +16,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
struct super_block {
|
||||
long unsigned int s_magic;
|
||||
unsigned long int s_magic;
|
||||
} __attribute__((preserve_access_index));
|
||||
|
||||
struct inode {
|
||||
|
||||
Reference in New Issue
Block a user