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



details:   https://anonhg.NetBSD.org/src/rev/9b4e86f68afd
branches:  trunk
changeset: 367267:9b4e86f68afd
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon Jun 20 21:26:44 2022 +0000

description:
lint: remove redundant include

err.c doesn't use anything from <sys/types.h>, plus it is already
included by "lint.h".

No binary change.

diffstat:

 usr.bin/xlint/lint1/err.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 3c0d0eba97f6 -r 9b4e86f68afd usr.bin/xlint/lint1/err.c
--- a/usr.bin/xlint/lint1/err.c Mon Jun 20 21:13:35 2022 +0000
+++ b/usr.bin/xlint/lint1/err.c Mon Jun 20 21:26:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: err.c,v 1.173 2022/06/20 21:13:35 rillig Exp $ */
+/*     $NetBSD: err.c,v 1.174 2022/06/20 21:26:44 rillig Exp $ */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,10 +37,9 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID)
-__RCSID("$NetBSD: err.c,v 1.173 2022/06/20 21:13:35 rillig Exp $");
+__RCSID("$NetBSD: err.c,v 1.174 2022/06/20 21:26:44 rillig Exp $");
 #endif
 
-#include <sys/types.h>
 #include <stdarg.h>
 #include <stdlib.h>
 



Home | Main Index | Thread Index | Old Index