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 Remove #include <err.h> (now in lint.h).



details:   https://anonhg.NetBSD.org/src/rev/64eadc89f150
branches:  trunk
changeset: 521361:64eadc89f150
user:      tv <tv%NetBSD.org@localhost>
date:      Tue Jan 29 02:43:38 2002 +0000

description:
Remove #include <err.h> (now in lint.h).

diffstat:

 usr.bin/xlint/lint1/main1.c |  5 ++---
 usr.bin/xlint/lint1/mem1.c  |  5 ++---
 usr.bin/xlint/lint1/scan.l  |  5 ++---
 3 files changed, 6 insertions(+), 9 deletions(-)

diffs (79 lines):

diff -r 00602d50ffec -r 64eadc89f150 usr.bin/xlint/lint1/main1.c
--- a/usr.bin/xlint/lint1/main1.c       Tue Jan 29 02:04:30 2002 +0000
+++ b/usr.bin/xlint/lint1/main1.c       Tue Jan 29 02:43:38 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main1.c,v 1.10 2001/12/13 23:56:00 augustss Exp $      */
+/*     $NetBSD: main1.c,v 1.11 2002/01/29 02:43:38 tv Exp $    */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -33,7 +33,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: main1.c,v 1.10 2001/12/13 23:56:00 augustss Exp $");
+__RCSID("$NetBSD: main1.c,v 1.11 2002/01/29 02:43:38 tv Exp $");
 #endif
 
 #include <sys/types.h>
@@ -41,7 +41,6 @@
 #include <string.h>
 #include <stdlib.h>
 #include <unistd.h>
-#include <err.h>
 #include <errno.h>
 #include <limits.h>
 
diff -r 00602d50ffec -r 64eadc89f150 usr.bin/xlint/lint1/mem1.c
--- a/usr.bin/xlint/lint1/mem1.c        Tue Jan 29 02:04:30 2002 +0000
+++ b/usr.bin/xlint/lint1/mem1.c        Tue Jan 29 02:43:38 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mem1.c,v 1.5 2001/05/28 12:40:37 lukem Exp $   */
+/*     $NetBSD: mem1.c,v 1.6 2002/01/29 02:43:39 tv Exp $      */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -33,7 +33,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mem1.c,v 1.5 2001/05/28 12:40:37 lukem Exp $");
+__RCSID("$NetBSD: mem1.c,v 1.6 2002/01/29 02:43:39 tv Exp $");
 #endif
 
 #include <sys/types.h>
@@ -42,7 +42,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
-#include <err.h>
 
 #include "lint1.h"
 
diff -r 00602d50ffec -r 64eadc89f150 usr.bin/xlint/lint1/scan.l
--- a/usr.bin/xlint/lint1/scan.l        Tue Jan 29 02:04:30 2002 +0000
+++ b/usr.bin/xlint/lint1/scan.l        Tue Jan 29 02:43:38 2002 +0000
@@ -1,5 +1,5 @@
 %{
-/* $NetBSD: scan.l,v 1.23 2002/01/03 05:37:39 thorpej Exp $ */
+/* $NetBSD: scan.l,v 1.24 2002/01/29 02:43:39 tv Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All Rights Reserved.
@@ -35,7 +35,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: scan.l,v 1.23 2002/01/03 05:37:39 thorpej Exp $");
+__RCSID("$NetBSD: scan.l,v 1.24 2002/01/29 02:43:39 tv Exp $");
 #endif
 
 #include <stdlib.h>
@@ -45,7 +45,6 @@
 #include <ctype.h>
 #include <errno.h>
 #include <math.h>
-#include <err.h>
 
 #include "lint1.h"
 #include "cgram.h"



Home | Main Index | Thread Index | Old Index