make brace placement in public header struct definitions consistent
authorRich Felker <dalias@aerifal.cx>
Sun, 3 Jul 2016 18:40:11 +0000 (14:40 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 3 Jul 2016 19:02:25 +0000 (15:02 -0400)
commitbefa5866ee30d09c0c96e88af2eabff5911342ea
treea72045d740e0a4b204ef6d742f7f3a3ca12e6c0e
parent093288dcb37a30c634b0a00eb7e2a0dbe72ebf95
make brace placement in public header struct definitions consistent

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.
68 files changed:
arch/aarch64/bits/ipc.h
arch/aarch64/bits/msg.h
arch/aarch64/bits/shm.h
arch/aarch64/bits/socket.h
arch/arm/bits/stat.h
arch/generic/bits/ipc.h
arch/generic/bits/msg.h
arch/generic/bits/shm.h
arch/generic/bits/socket.h
arch/generic/bits/termios.h
arch/i386/bits/stat.h
arch/i386/bits/user.h
arch/microblaze/bits/stat.h
arch/mips/bits/msg.h
arch/mips/bits/shm.h
arch/mips/bits/signal.h
arch/mips/bits/socket.h
arch/mips/bits/stat.h
arch/mipsn32/bits/msg.h
arch/powerpc/bits/ipc.h
arch/powerpc/bits/msg.h
arch/powerpc/bits/shm.h
arch/powerpc/bits/signal.h
arch/powerpc/bits/socket.h
arch/powerpc/bits/stat.h
arch/powerpc/bits/termios.h
arch/powerpc64/bits/ipc.h
arch/powerpc64/bits/msg.h
arch/powerpc64/bits/shm.h
arch/powerpc64/bits/socket.h
arch/powerpc64/bits/stat.h
arch/powerpc64/bits/termios.h
arch/sh/bits/shm.h
arch/sh/bits/stat.h
arch/x32/bits/ipc.h
arch/x32/bits/msg.h
arch/x32/bits/shm.h
arch/x32/bits/socket.h
arch/x32/bits/user.h
arch/x86_64/bits/ipc.h
arch/x86_64/bits/msg.h
arch/x86_64/bits/shm.h
arch/x86_64/bits/socket.h
arch/x86_64/bits/user.h
include/dirent.h
include/fcntl.h
include/ftw.h
include/getopt.h
include/grp.h
include/mntent.h
include/net/if.h
include/netdb.h
include/netinet/in.h
include/netinet/tcp.h
include/poll.h
include/pwd.h
include/sys/acct.h
include/sys/procfs.h
include/sys/quota.h
include/sys/resource.h
include/sys/socket.h
include/sys/time.h
include/sys/times.h
include/sys/un.h
include/sys/utsname.h
include/time.h
include/utime.h
include/utmpx.h