Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/indent indent: group variables by topic



details:   https://anonhg.NetBSD.org/src/rev/779e56dddd19
branches:  trunk
changeset: 990588:779e56dddd19
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Oct 30 18:47:36 2021 +0000

description:
indent: group variables by topic

No functional change.

diffstat:

 usr.bin/indent/indent.c |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r 6b6da8049cc0 -r 779e56dddd19 usr.bin/indent/indent.c
--- a/usr.bin/indent/indent.c   Sat Oct 30 18:44:24 2021 +0000
+++ b/usr.bin/indent/indent.c   Sat Oct 30 18:47:36 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: indent.c,v 1.191 2021/10/30 17:55:44 rillig Exp $      */
+/*     $NetBSD: indent.c,v 1.192 2021/10/30 18:47:36 rillig Exp $      */
 
 /*-
  * SPDX-License-Identifier: BSD-4-Clause
@@ -43,7 +43,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__NetBSD__)
-__RCSID("$NetBSD: indent.c,v 1.191 2021/10/30 17:55:44 rillig Exp $");
+__RCSID("$NetBSD: indent.c,v 1.192 2021/10/30 18:47:36 rillig Exp $");
 #elif defined(__FreeBSD__)
 __FBSDID("$FreeBSD: head/usr.bin/indent/indent.c 340138 2018-11-04 19:24:49Z oshogbo $");
 #endif
@@ -88,12 +88,13 @@
 
 struct parser_state ps;
 
+struct buffer inp;
+
+struct buffer token;
+
 struct buffer lab;
 struct buffer code;
 struct buffer com;
-struct buffer token;
-
-struct buffer inp;
 
 char sc_buf[sc_size];
 char *save_com;



Home | Main Index | Thread Index | Old Index