Module Name:    src
Committed By:   rillig
Date:           Thu Nov 25 20:02:06 UTC 2021

Modified Files:
        src/tests/usr.bin/indent: fmt_decl.c

Log Message:
tests/indent: fix misleading typedef name


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/tests/usr.bin/indent/fmt_decl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/usr.bin/indent/fmt_decl.c
diff -u src/tests/usr.bin/indent/fmt_decl.c:1.29 src/tests/usr.bin/indent/fmt_decl.c:1.30
--- src/tests/usr.bin/indent/fmt_decl.c:1.29	Thu Nov 25 18:36:30 2021
+++ src/tests/usr.bin/indent/fmt_decl.c	Thu Nov 25 20:02:06 2021
@@ -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
 
 

Reply via email to