Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/usr.bin/indent tests/indent: fix misleading typedef name



details:   https://anonhg.NetBSD.org/src/rev/a55eedf4a687
branches:  trunk
changeset: 1026470:a55eedf4a687
user:      rillig <rillig%NetBSD.org@localhost>
date:      Thu Nov 25 20:02:06 2021 +0000

description:
tests/indent: fix misleading typedef name

diffstat:

 tests/usr.bin/indent/fmt_decl.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r c7d99a719487 -r a55eedf4a687 tests/usr.bin/indent/fmt_decl.c
--- a/tests/usr.bin/indent/fmt_decl.c   Thu Nov 25 20:00:31 2021 +0000
+++ b/tests/usr.bin/indent/fmt_decl.c   Thu Nov 25 20:02:06 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fmt_decl.c,v 1.29 2021/11/25 18:36:30 rillig Exp $     */
+/*     $NetBSD: fmt_decl.c,v 1.30 2021/11/25 20:02:06 rillig Exp $     */
 /* $FreeBSD: head/usr.bin/indent/tests/declarations.0 334478 2018-06-01 09:41:15Z pstef $ */
 
 /*
@@ -16,11 +16,11 @@
  * align the newly declared type name with the other variables.
  */
 #indent input
-typedef   void   (   *   voidptr   )   (   int   *   )   ;
+typedef   void   (   *   function_ptr   )   (   int   *   )   ;
 #indent end
 
 #indent run
-typedef void (*voidptr)(int *);
+typedef void (*function_ptr)(int *);
 #indent end
 
 



Home | Main Index | Thread Index | Old Index