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: reduce binary size



details:   https://anonhg.NetBSD.org/src/rev/f27bac4edc5b
branches:  trunk
changeset: 375303:f27bac4edc5b
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun May 14 11:02:53 2023 +0000

description:
indent: reduce binary size

No functional change.

diffstat:

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

diffs (27 lines):

diff -r 1e754dfb2d5c -r f27bac4edc5b usr.bin/indent/lexi.c
--- a/usr.bin/indent/lexi.c     Sun May 14 09:29:58 2023 +0000
+++ b/usr.bin/indent/lexi.c     Sun May 14 11:02:53 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lexi.c,v 1.179 2023/05/13 13:31:37 rillig Exp $        */
+/*     $NetBSD: lexi.c,v 1.180 2023/05/14 11:02:53 rillig Exp $        */
 
 /*-
  * SPDX-License-Identifier: BSD-4-Clause
@@ -43,7 +43,7 @@ static char sccsid[] = "@(#)lexi.c    8.1 (
 
 #include <sys/cdefs.h>
 #if defined(__NetBSD__)
-__RCSID("$NetBSD: lexi.c,v 1.179 2023/05/13 13:31:37 rillig Exp $");
+__RCSID("$NetBSD: lexi.c,v 1.180 2023/05/14 11:02:53 rillig Exp $");
 #elif defined(__FreeBSD__)
 __FBSDID("$FreeBSD: head/usr.bin/indent/lexi.c 337862 2018-08-15 18:19:45Z pstef $");
 #endif
@@ -61,7 +61,7 @@ static char sccsid[] = "@(#)lexi.c    8.1 (
 
 /* must be sorted alphabetically, is used in binary search */
 static const struct keyword {
-    const char *name;
+    const char name[12];
     lexer_symbol lsym;
 } keywords[] = {
     {"_Bool", lsym_type},



Home | Main Index | Thread Index | Old Index