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/51ece6c7b2a6
branches:  trunk
changeset: 1022875:51ece6c7b2a6
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 c8f6cdf13bec -r 51ece6c7b2a6 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