placing the opening brace on the same line as the struct keyword/tag
is the style I prefer and seems to be the prevailing practice in more
recent additions.
these changes were generated by the command:
find include/ arch/*/bits -name '*.h' \
-exec sed -i '/^struct [^;{]*$/{N;s/\n/ /;}' {} +
and subsequently checked by hand to ensure that the regex did not pick
up any false positives.
14 lines
179 B
C
14 lines
179 B
C
struct ipc_perm {
|
|
key_t __ipc_perm_key;
|
|
uid_t uid;
|
|
gid_t gid;
|
|
uid_t cuid;
|
|
gid_t cgid;
|
|
mode_t mode;
|
|
int __ipc_perm_seq;
|
|
long __pad1;
|
|
long __pad2;
|
|
};
|
|
|
|
#define IPC_64 0x100
|