lint: remove redundant include of externs1.h

It is already included by lint1.h.
This commit is contained in:
rillig 2021-01-03 18:35:51 +00:00
parent 90901a1bb9
commit df33f93fa1
2 changed files with 4 additions and 6 deletions

View File

@ -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[] =
{

View File

@ -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/03 17:42:45 rillig Exp $");
#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 *);