Module Name: src Committed By: rillig Date: Thu Sep 14 22:48:49 UTC 2023
Modified Files: src/usr.bin/xlint/lint1: op.h Log Message: lint: reduce pointer dereferences and relocations No functional change. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/usr.bin/xlint/lint1/op.h 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/xlint/lint1/op.h diff -u src/usr.bin/xlint/lint1/op.h:1.24 src/usr.bin/xlint/lint1/op.h:1.25 --- src/usr.bin/xlint/lint1/op.h:1.24 Thu Sep 14 22:20:08 2023 +++ src/usr.bin/xlint/lint1/op.h Thu Sep 14 22:48:49 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: op.h,v 1.24 2023/09/14 22:20:08 rillig Exp $ */ +/* $NetBSD: op.h,v 1.25 2023/09/14 22:48:49 rillig Exp $ */ /* * Copyright (c) 1994, 1995 Jochen Pohl @@ -57,7 +57,7 @@ typedef struct { bool m_bad_on_enum: 1; bool m_warn_if_operand_eq: 1; bool m_has_operands: 1; - const char *m_name; + const char m_name[8]; } mod_t; typedef enum {