fix indentation issues.

found by GCC 12.
This commit is contained in:
mrg 2023-08-07 23:28:58 +00:00
parent ab52baf9b6
commit 1417562b0b
4 changed files with 14 additions and 12 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ncr5380var.h,v 1.9 2023/01/06 10:28:28 tsutsui Exp $ */
/* $NetBSD: ncr5380var.h,v 1.10 2023/08/07 23:28:58 mrg Exp $ */
/*
* Copyright (c) 1996 Leo Weppelman.
@ -63,7 +63,7 @@ static const char *last_hit[DBG_PID];
int i; \
for (i = 0; i < DBG_PID - 1; i++) \
last_hit[i] = last_hit[i + 1]; \
last_hit[DBG_PID - 1] = a; \
last_hit[DBG_PID - 1] = a; \
} \
/* olast_hit = last_hit; last_hit = a; */
#else

View File

@ -1,4 +1,4 @@
/* $NetBSD: intiovar.h,v 1.13 2008/04/28 20:23:19 martin Exp $ */
/* $NetBSD: intiovar.h,v 1.14 2023/08/07 23:28:58 mrg Exp $ */
/*-
* Copyright (c) 1996, 1998, 2001 The NetBSD Foundation, Inc.
@ -99,7 +99,7 @@ intio_device_writecmd(bus_space_tag_t bst, bus_space_handle_t bsh,
WAIT(bst, bsh);
bus_space_write_1(bst, bsh, INTIO_DEV_3xx_CMD, cmd);
while (len--) {
WAIT(bst, bsh);
WAIT(bst, bsh);
bus_space_write_1(bst, bsh, INTIO_DEV_3xx_DATA, *datap++);
}
return (0);

View File

@ -1,4 +1,4 @@
/* $NetBSD: pf_norm.c,v 1.29 2021/03/08 23:34:58 christos Exp $ */
/* $NetBSD: pf_norm.c,v 1.30 2023/08/07 23:28:58 mrg Exp $ */
/* $OpenBSD: pf_norm.c,v 1.109 2007/05/28 17:16:39 henning Exp $ */
/*
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pf_norm.c,v 1.29 2021/03/08 23:34:58 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: pf_norm.c,v 1.30 2023/08/07 23:28:58 mrg Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@ -1011,10 +1011,12 @@ pf_normalize_ip(struct mbuf **m0, int dir, struct pfi_kif *kif, u_short *reason,
if (dir == PF_IN)
#ifdef __NetBSD__
{
pf_mtag = pf_find_mtag(m);
KASSERT(pf_mtag != NULL);
pf_mtag->flags |= PF_TAG_FRAGCACHE;
}
#else
m->m_pkthdr.pf.flags |= PF_TAG_FRAGCACHE;
#endif /* !__NetBSD__ */

View File

@ -1,5 +1,5 @@
/* $KAME: dccp_tfrc.c,v 1.16 2006/03/01 17:34:08 nishida Exp $ */
/* $NetBSD: dccp_tfrc.c,v 1.9 2021/12/10 20:36:04 andvar Exp $ */
/* $NetBSD: dccp_tfrc.c,v 1.10 2023/08/07 23:28:58 mrg Exp $ */
/*
* Copyright (c) 2003 Nils-Erik Mattsson
@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: dccp_tfrc.c,v 1.9 2021/12/10 20:36:04 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: dccp_tfrc.c,v 1.10 2023/08/07 23:28:58 mrg Exp $");
#ifdef _KERNEL_OPT
#include "opt_dccp.h"
@ -128,10 +128,10 @@ const struct timeval delta_half = {0, TFRC_OPSYS_TIME_GRAN / 2};
*/
#define HALFTIMEVAL(tvp) \
do { \
if ((tvp)->tv_sec & 1) \
(tvp)->tv_usec += 1000000; \
(tvp)->tv_sec = (tvp)->tv_sec >> 1; \
(tvp)->tv_usec = (tvp)->tv_usec >> 1; \
if ((tvp)->tv_sec & 1) \
(tvp)->tv_usec += 1000000; \
(tvp)->tv_sec = (tvp)->tv_sec >> 1; \
(tvp)->tv_usec = (tvp)->tv_usec >> 1; \
} while (0)
/* Sender side */