Module Name: src
Committed By: rillig
Date: Sun Feb 27 10:49:15 UTC 2022
Modified Files:
src/usr.bin/xlint/lint1: lint1.h
Log Message:
lint: remove unused enumeration details from symbol type
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 src/usr.bin/xlint/lint1/lint1.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/lint1.h
diff -u src/usr.bin/xlint/lint1/lint1.h:1.139 src/usr.bin/xlint/lint1/lint1.h:1.140
--- src/usr.bin/xlint/lint1/lint1.h:1.139 Sun Feb 27 10:44:45 2022
+++ src/usr.bin/xlint/lint1/lint1.h Sun Feb 27 10:49:15 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: lint1.h,v 1.139 2022/02/27 10:44:45 rillig Exp $ */
+/* $NetBSD: lint1.h,v 1.140 2022/02/27 10:49:15 rillig Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -267,7 +267,6 @@ typedef struct sym {
union {
/* XXX: what is the difference to s_type->t_str? */
struct_or_union *_s_st;
- enumeration *_s_et;
tspec_t _s_tsp; /* type (only for keywords) */
tqual_t _s_tqu; /* qualifier (only for keywords) */
struct sym *_s_args; /* arguments in old style function
@@ -283,7 +282,6 @@ typedef struct sym {
} sym_t;
#define s_styp u._s_st
-#define s_etyp u._s_et
#define s_tspec u._s_tsp
#define s_tqual u._s_tqu
#define s_args u._s_args