[SLOF] [PATCH slof v3 1/4] net-snk: Fix coding style
Thomas Huth
thuth at redhat.com
Wed Jan 27 23:10:19 AEDT 2016
On 22.01.2016 02:03, Alexey Kardashevskiy wrote:
> This restyles function prototypes:
> - return types on the same line;
> - opening brace is on the next line.
>
> VIM configs used for this was:
> set noexpandtab
> set tabstop=8
> set shiftwidth=4
> set cino=:0,(0
>
> This replaces [><]* with "*" as >< are also used to resolve merge
> conflicts.
>
> This removes trailing spaces.
>
> This removes some redundand braces.
s/redundand/redundant/
> This should cause no behavioural change.
>
> Signed-off-by: Alexey Kardashevskiy <aik at ozlabs.ru>
> ---
> clients/net-snk/app/netlib/dhcp.c | 148 ++++++++++++++++------------------
> clients/net-snk/app/netlib/ethernet.c | 37 +++++----
> clients/net-snk/app/netlib/ipv4.c | 113 ++++++++++----------------
> clients/net-snk/app/netlib/ipv4.h | 2 +-
> clients/net-snk/app/netlib/ipv6.c | 63 +++++----------
> clients/net-snk/app/netlib/tcp.c | 16 ++--
> clients/net-snk/app/netlib/tftp.c | 51 +++++-------
> clients/net-snk/app/netlib/udp.c | 26 +++---
> 8 files changed, 194 insertions(+), 262 deletions(-)
Looks fine to me now, thanks for cleaning this up!
Reviewed-by: Thomas Huth <thuth at redhat.com>
More information about the SLOF
mailing list