Rich Felker
befa5866ee
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.
2016-07-03 15:02:25 -04:00
Roman Yeryomin and Rich Felker
3975577922
socket.h: cleanup/reorder mips and powerpc bits/socket.h
...
....to be somewhat consistent and easily comparable with asm/socket.h
Signed-off-by: Roman Yeryomin <[email protected] >
2015-07-21 19:14:58 -04:00
Roman Yeryomin and Rich Felker
29ec7677a7
socket.h: fix SO_* for mips
...
Signed-off-by: Roman Yeryomin <[email protected] >
2015-07-21 19:14:26 -04:00
Rich Felker
514c2dd24f
fix socket.h struct msghdr member types on powerpc
...
these were incorrectly copied from the kernel, whose ABI matches the
POSIX requirements but with the wrong underlying types and wrong
signedness.
2014-03-11 17:21:38 -04:00
Szabolcs Nagy
ca2300d9ac
add the new SO_REUSEPORT socket option to mips and powerpc
...
SO_REUSEPORT implementation was merged in the linux kernel commit
c617f398edd4db2b8567a28e899a88f8f574798d 2013-01-23
2013-04-01 17:54:39 +00:00
rofl0r
ae67fe1aad
ppc socket.h: add forgotten cmsghdr
2012-11-18 02:42:55 +01:00
rofl0r
1c8eb8bad7
PPC port cleaned up, static linking works well now.
2012-11-13 19:12:25 +01:00