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 redundant include of extern...
details: https://anonhg.NetBSD.org/src/rev/330d45cb8a9f
branches: trunk
changeset: 979624:330d45cb8a9f
user: rillig <rillig%NetBSD.org@localhost>
date: Sun Jan 03 18:35:51 2021 +0000
description:
lint: remove redundant include of externs1.h
It is already included by lint1.h.
diffstat:
usr.bin/xlint/lint1/print.c | 5 ++---
usr.bin/xlint/lint1/tree.c | 5 ++---
2 files changed, 4 insertions(+), 6 deletions(-)
diffs (50 lines):
diff -r 7e8b7c920a96 -r 330d45cb8a9f usr.bin/xlint/lint1/print.c
--- a/usr.bin/xlint/lint1/print.c Sun Jan 03 17:42:45 2021 +0000
+++ b/usr.bin/xlint/lint1/print.c Sun Jan 03 18:35:51 2021 +0000
@@ -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[] =
{
diff -r 7e8b7c920a96 -r 330d45cb8a9f usr.bin/xlint/lint1/tree.c
--- a/usr.bin/xlint/lint1/tree.c Sun Jan 03 17:42:45 2021 +0000
+++ b/usr.bin/xlint/lint1/tree.c Sun Jan 03 18:35:51 2021 +0000
@@ -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 @@
#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 *);
Home |
Main Index |
Thread Index |
Old Index