Module Name: src
Committed By: rillig
Date: Sun Jan 3 18:35:51 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: print.c tree.c
Log Message:
lint: remove redundant include of externs1.h
It is already included by lint1.h.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/xlint/lint1/print.c
cvs rdiff -u -r1.118 -r1.119 src/usr.bin/xlint/lint1/tree.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/xlint/lint1/print.c
diff -u src/usr.bin/xlint/lint1/print.c:1.7 src/usr.bin/xlint/lint1/print.c:1.8
--- src/usr.bin/xlint/lint1/print.c:1.7 Wed Dec 30 10:56:51 2020
+++ src/usr.bin/xlint/lint1/print.c Sun Jan 3 18:35:51 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: print.c,v 1.7 2020/12/30 10:56:51 rillig Exp $ */
+/* $NetBSD: print.c,v 1.8 2021/01/03 18:35:51 rillig Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -35,13 +35,12 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: print.c,v 1.7 2020/12/30 10:56:51 rillig Exp $");
+__RCSID("$NetBSD: print.c,v 1.8 2021/01/03 18:35:51 rillig Exp $");
#endif
#include <stdio.h>
#include "lint1.h"
-#include "externs1.h"
static const char *str_op_t[] =
{
Index: src/usr.bin/xlint/lint1/tree.c
diff -u src/usr.bin/xlint/lint1/tree.c:1.118 src/usr.bin/xlint/lint1/tree.c:1.119
--- src/usr.bin/xlint/lint1/tree.c:1.118 Sun Jan 3 17:42:45 2021
+++ src/usr.bin/xlint/lint1/tree.c Sun Jan 3 18:35:51 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: tree.c,v 1.118 2021/01/03 17:42:45 rillig Exp $ */
+/* $NetBSD: tree.c,v 1.119 2021/01/03 18:35:51 rillig Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: tree.c,v 1.118 2021/01/03 17:42:45 rillig Exp $");
+__RCSID("$NetBSD: tree.c,v 1.119 2021/01/03 18:35:51 rillig Exp $");
#endif
#include <float.h>
@@ -49,7 +49,6 @@ __RCSID("$NetBSD: tree.c,v 1.118 2021/01
#include "lint1.h"
#include "cgram.h"
-#include "externs1.h"
static tnode_t *new_int_const_node(tspec_t, int64_t);
static void check_pointer_comparison(op_t, tnode_t *, tnode_t *);