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 prototypes



details:   https://anonhg.NetBSD.org/src/rev/20c0f497f28f
branches:  trunk
changeset: 960590:20c0f497f28f
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Mar 21 20:30:19 2021 +0000

description:
lint: remove redundant prototypes

No functional change.

diffstat:

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

diffs (30 lines):

diff -r b1923ccaeba5 -r 20c0f497f28f usr.bin/xlint/lint1/err.c
--- a/usr.bin/xlint/lint1/err.c Sun Mar 21 20:18:45 2021 +0000
+++ b/usr.bin/xlint/lint1/err.c Sun Mar 21 20:30:19 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: err.c,v 1.89 2021/03/20 14:17:56 rillig Exp $  */
+/*     $NetBSD: err.c,v 1.90 2021/03/21 20:30:19 rillig Exp $  */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: err.c,v 1.89 2021/03/20 14:17:56 rillig Exp $");
+__RCSID("$NetBSD: err.c,v 1.90 2021/03/21 20:30:19 rillig Exp $");
 #endif
 
 #include <sys/types.h>
@@ -53,11 +53,6 @@
 int    sytxerr;
 
 
-static const   char *lbasename(const char *);
-static void    verror(int, va_list);
-static void    vwarning(int, va_list);
-
-
 const  char *msgs[] = {
        "empty declaration",                                          /* 0 */
        "old style declaration; add 'int'",                           /* 1 */



Home | Main Index | Thread Index | Old Index