diff --git a/tests/usr.bin/indent/declarations.0 b/tests/usr.bin/indent/declarations.0 index c943d99dfe00..94d0a5619418 100644 --- a/tests/usr.bin/indent/declarations.0 +++ b/tests/usr.bin/indent/declarations.0 @@ -1,8 +1,8 @@ -/* $NetBSD: declarations.0,v 1.1 2019/04/04 15:27:35 kamil Exp $ */ +/* $NetBSD: declarations.0,v 1.2 2021/03/06 19:51:24 rillig Exp $ */ /* $FreeBSD: head/usr.bin/indent/tests/declarations.0 334478 2018-06-01 09:41:15Z pstef $ */ /* See r303570 */ -typedef void (*voidptr) (int *); +typedef void (*voidptr) (int *); static const struct { @@ -23,7 +23,7 @@ typedef struct Complex double y; } Complex; -void +void t1 (char *a, int b, void (*fn)(void)) {} diff --git a/tests/usr.bin/indent/opt-c.0 b/tests/usr.bin/indent/opt-c.0 index aa740d5a0409..be9e837415ec 100644 --- a/tests/usr.bin/indent/opt-c.0 +++ b/tests/usr.bin/indent/opt-c.0 @@ -1,4 +1,4 @@ -/* $NetBSD: opt-c.0,v 1.2 2021/03/06 19:30:44 rillig Exp $ */ +/* $NetBSD: opt-c.0,v 1.3 2021/03/06 19:51:24 rillig Exp $ */ /* $FreeBSD$ */ bool @@ -8,5 +8,5 @@ is_prime(int n) return n >= 2; /* special case */ if (n % 2 == 0) return false; /* even numbers */ - return true; + return true; } diff --git a/tests/usr.bin/indent/parens.0 b/tests/usr.bin/indent/parens.0 index e1c827813df2..8ef9f0decb50 100644 --- a/tests/usr.bin/indent/parens.0 +++ b/tests/usr.bin/indent/parens.0 @@ -1,9 +1,9 @@ -/* $NetBSD: parens.0,v 1.1 2019/04/04 15:27:35 kamil Exp $ */ +/* $NetBSD: parens.0,v 1.2 2021/03/06 19:51:24 rillig Exp $ */ /* $FreeBSD: head/usr.bin/indent/tests/parens.0 334583 2018-06-03 19:05:20Z pstef $ */ -typedef void (*xxxxxxxxxxx) (int, +typedef void (*xxxxxxxxxxx) (int, char); -typedef char (*xxxxxxxxxxxxxxxxxxxxxxxxxxxx) (int *, +typedef char (*xxxxxxxxxxxxxxxxxxxxxxxxxxxx) (int *, unsigned *, char, float *);