Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/xlint/lint1 lint: remove unused enumeration details ...



details:   https://anonhg.NetBSD.org/src/rev/47195f5b4fe7
branches:  trunk
changeset: 362050:47195f5b4fe7
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Feb 27 10:49:15 2022 +0000

description:
lint: remove unused enumeration details from symbol type

No functional change.

diffstat:

 usr.bin/xlint/lint1/lint1.h |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 7df9ad271d18 -r 47195f5b4fe7 usr.bin/xlint/lint1/lint1.h
--- a/usr.bin/xlint/lint1/lint1.h       Sun Feb 27 10:44:45 2022 +0000
+++ b/usr.bin/xlint/lint1/lint1.h       Sun Feb 27 10:49:15 2022 +0000
@@ -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 @@
        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 @@
 } 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



Home | Main Index | Thread Index | Old Index