Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/xlint lint: remove redundant function prototypes
details: https://anonhg.NetBSD.org/src/rev/075955ea9cf0
branches: trunk
changeset: 1026387:075955ea9cf0
user: rillig <rillig%NetBSD.org@localhost>
date: Sun Nov 21 10:08:10 2021 +0000
description:
lint: remove redundant function prototypes
diffstat:
usr.bin/xlint/xlint/xlint.c | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diffs (38 lines):
diff -r bbf06956807f -r 075955ea9cf0 usr.bin/xlint/xlint/xlint.c
--- a/usr.bin/xlint/xlint/xlint.c Sun Nov 21 09:35:39 2021 +0000
+++ b/usr.bin/xlint/xlint/xlint.c Sun Nov 21 10:08:10 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xlint.c,v 1.82 2021/09/05 18:17:15 rillig Exp $ */
+/* $NetBSD: xlint.c,v 1.83 2021/11/21 10:08:10 rillig Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: xlint.c,v 1.82 2021/09/05 18:17:15 rillig Exp $");
+__RCSID("$NetBSD: xlint.c,v 1.83 2021/11/21 10:08:10 rillig Exp $");
#endif
#include <sys/param.h>
@@ -120,10 +120,6 @@
#endif
static const char target_prefix[] = TARGET_PREFIX;
-static char *concat2(const char *, const char *);
-static void terminate(int) __attribute__((__noreturn__));
-static const char *lbasename(const char *, int);
-static void usage(void);
static void fname(const char *);
static void runchild(const char *, char *const *, const char *, int);
static void findlibs(char *const *);
@@ -253,7 +249,7 @@
/*
* Clean up after a signal.
*/
-static void
+static void __attribute__((__noreturn__))
terminate(int signo)
{
int i;
Home |
Main Index |
Thread Index |
Old Index