Module Name:    src
Committed By:   rillig
Date:           Sun May 14 11:02:53 UTC 2023

Modified Files:
        src/usr.bin/indent: lexi.c

Log Message:
indent: reduce binary size

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.179 -r1.180 src/usr.bin/indent/lexi.c

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

Modified files:

Index: src/usr.bin/indent/lexi.c
diff -u src/usr.bin/indent/lexi.c:1.179 src/usr.bin/indent/lexi.c:1.180
--- src/usr.bin/indent/lexi.c:1.179	Sat May 13 13:31:37 2023
+++ src/usr.bin/indent/lexi.c	Sun May 14 11:02:53 2023
@@ -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 @@ __FBSDID("$FreeBSD: head/usr.bin/indent/
 
 /* 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},

Reply via email to