From: krw Date: Sun, 9 Jul 2017 12:38:47 +0000 (+0000) Subject: Whitespace tweaks to assuage auto-indent. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a81ec8f10f9593f3e768916632bbd49b821a0ebe;p=openbsd Whitespace tweaks to assuage auto-indent. --- diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c index 579be485671..a432917f5c3 100644 --- a/sbin/dhclient/dhclient.c +++ b/sbin/dhclient/dhclient.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhclient.c,v 1.461 2017/07/08 20:38:31 krw Exp $ */ +/* $OpenBSD: dhclient.c,v 1.462 2017/07/09 12:38:47 krw Exp $ */ /* * Copyright 2004 Henning Brauer @@ -159,8 +159,8 @@ void take_charge(struct interface_info *, int); void set_default_client_identifier(struct interface_info *); struct client_lease *get_recorded_lease(struct interface_info *); -#define ROUNDUP(a) \ - ((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : sizeof(long)) +#define ROUNDUP(a) ((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : \ + sizeof(long)) #define ADVANCE(x, n) (x += ROUNDUP((n)->sa_len)) static FILE *leaseFile; diff --git a/sbin/dhclient/dhctoken.h b/sbin/dhclient/dhctoken.h index 140425d010e..1766aa8e0b0 100644 --- a/sbin/dhclient/dhctoken.h +++ b/sbin/dhclient/dhctoken.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dhctoken.h,v 1.11 2017/06/29 21:37:43 krw Exp $ */ +/* $OpenBSD: dhctoken.h,v 1.12 2017/07/09 12:38:47 krw Exp $ */ /* Tokens for config file lexer and parser. */ @@ -76,6 +76,6 @@ #define TOK_SSID 296 #define is_identifier(x) ((x) >= TOK_FIRST_TOKEN && \ - (x) != TOK_STRING && \ - (x) != TOK_NUMBER && \ - (x) != EOF) + (x) != TOK_STRING && \ + (x) != TOK_NUMBER && \ + (x) != EOF) diff --git a/sbin/dhclient/kroute.c b/sbin/dhclient/kroute.c index 58f6608b634..ef78259022b 100644 --- a/sbin/dhclient/kroute.c +++ b/sbin/dhclient/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.103 2017/07/08 00:36:10 krw Exp $ */ +/* $OpenBSD: kroute.c,v 1.104 2017/07/09 12:38:47 krw Exp $ */ /* * Copyright 2012 Kenneth R Westerback @@ -47,8 +47,8 @@ #include "log.h" #include "privsep.h" -#define ROUNDUP(a) \ - ((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : sizeof(long)) +#define ROUNDUP(a) ((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) : \ + sizeof(long)) /* * flush_unpriv_ibuf makes sure queued messages are delivered to the