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 Don't need local extern declaration of s...



details:   https://anonhg.NetBSD.org/src/rev/cc7c2fd8d911
branches:  trunk
changeset: 485977:cc7c2fd8d911
user:      simonb <simonb%NetBSD.org@localhost>
date:      Wed May 10 05:09:17 2000 +0000

description:
Don't need local extern declaration of strtouq() - it's in <stdlib.h>.

diffstat:

 usr.bin/xlint/lint1/scan.l |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r 47fed380db96 -r cc7c2fd8d911 usr.bin/xlint/lint1/scan.l
--- a/usr.bin/xlint/lint1/scan.l        Wed May 10 03:31:30 2000 +0000
+++ b/usr.bin/xlint/lint1/scan.l        Wed May 10 05:09:17 2000 +0000
@@ -1,5 +1,5 @@
 %{
-/*     $NetBSD: scan.l,v 1.13 1998/12/20 19:05:19 christos Exp $       */
+/*     $NetBSD: scan.l,v 1.14 2000/05/10 05:09:17 simonb 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.13 1998/12/20 19:05:19 christos Exp $");
+__RCSID("$NetBSD: scan.l,v 1.14 2000/05/10 05:09:17 simonb Exp $");
 #endif
 
 #include <stdlib.h>
@@ -53,9 +53,6 @@
 #define CHAR_MASK      (~(~0 << CHAR_BIT))
 #define YY_NO_UNPUT
 
-/* XXX declaration of strtouq() is missing in stdlib.h ? */
-extern u_quad_t strtouq __P((const char *, char **, int));
-
 /* Current position (its also updated when an included file is parsed) */
 pos_t  curr_pos = { 1, "", 0 };
 



Home | Main Index | Thread Index | Old Index