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 function prototypes



details:   https://anonhg.NetBSD.org/src/rev/e1c35e0ee95e
branches:  trunk
changeset: 948721:e1c35e0ee95e
user:      rillig <rillig%NetBSD.org@localhost>
date:      Tue Dec 29 19:09:53 2020 +0000

description:
lint: remove redundant function prototypes

diffstat:

 usr.bin/xlint/lint1/init.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (32 lines):

diff -r b6e2f49f1098 -r e1c35e0ee95e usr.bin/xlint/lint1/init.c
--- a/usr.bin/xlint/lint1/init.c        Tue Dec 29 19:02:16 2020 +0000
+++ b/usr.bin/xlint/lint1/init.c        Tue Dec 29 19:09:53 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: init.c,v 1.38 2020/12/29 19:02:16 rillig Exp $ */
+/*     $NetBSD: init.c,v 1.39 2020/12/29 19:09:53 rillig Exp $ */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: init.c,v 1.38 2020/12/29 19:02:16 rillig Exp $");
+__RCSID("$NetBSD: init.c,v 1.39 2020/12/29 19:09:53 rillig Exp $");
 #endif
 
 #include <ctype.h>
@@ -69,13 +69,7 @@
 namlist_t      *namedmem = NULL;
 
 
-static void    initstack_push(void);
-static void    initstack_check_too_many(void);
-static void    initstack_pop_brace(void);
-static void    initstack_pop_nobrace(void);
-static void    initstack_pop_item(void);
 static int     initstack_string(tnode_t *);
-static void    pop_member(void);
 
 #ifndef DEBUG
 #define DPRINTF(a)



Home | Main Index | Thread Index | Old Index