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/deec8545df0e
branches:  trunk
changeset: 985175:deec8545df0e
user:      rillig <rillig%NetBSD.org@localhost>
date:      Tue Aug 10 17:57:16 2021 +0000

description:
lint: remove redundant function prototypes

diffstat:

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

diffs (28 lines):

diff -r 8af2564e62a5 -r deec8545df0e usr.bin/xlint/lint1/mem1.c
--- a/usr.bin/xlint/lint1/mem1.c        Tue Aug 10 17:31:44 2021 +0000
+++ b/usr.bin/xlint/lint1/mem1.c        Tue Aug 10 17:57:16 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mem1.c,v 1.48 2021/08/10 17:31:44 rillig Exp $ */
+/*     $NetBSD: mem1.c,v 1.49 2021/08/10 17:57:16 rillig Exp $ */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: mem1.c,v 1.48 2021/08/10 17:31:44 rillig Exp $");
+__RCSID("$NetBSD: mem1.c,v 1.49 2021/08/10 17:57:16 rillig Exp $");
 #endif
 
 #include <sys/types.h>
@@ -205,9 +205,6 @@
 /* length of new allocated memory blocks */
 static size_t  mblklen;
 
-static void    *xgetblk(memory_block **, size_t);
-static void    xfreeblk(memory_block **);
-static memory_block *xnewblk(void);
 
 static memory_block *
 xnewblk(void)



Home | Main Index | Thread Index | Old Index