Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/tprof fix build error with llvm
details: https://anonhg.NetBSD.org/src/rev/450f56cc46d9
branches: trunk
changeset: 372526:450f56cc46d9
user: ryo <ryo%NetBSD.org@localhost>
date: Mon Dec 05 05:02:45 2022 +0000
description:
fix build error with llvm
diffstat:
usr.sbin/tprof/tprof.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 6f9cd5fa544d -r 450f56cc46d9 usr.sbin/tprof/tprof.c
--- a/usr.sbin/tprof/tprof.c Sun Dec 04 23:02:57 2022 +0000
+++ b/usr.sbin/tprof/tprof.c Mon Dec 05 05:02:45 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tprof.c,v 1.16 2022/12/01 00:43:27 ryo Exp $ */
+/* $NetBSD: tprof.c,v 1.17 2022/12/05 05:02:45 ryo Exp $ */
/*
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: tprof.c,v 1.16 2022/12/01 00:43:27 ryo Exp $");
+__RCSID("$NetBSD: tprof.c,v 1.17 2022/12/05 05:02:45 ryo Exp $");
#endif /* not lint */
#include <sys/atomic.h>
@@ -98,8 +98,8 @@
static void tprof_list(int, char **);
static void tprof_monitor_common(bool, int, char **) __dead;
-static void tprof_monitor(int, char **);
-static void tprof_count(int, char **);
+static void tprof_monitor(int, char **) __dead;
+static void tprof_count(int, char **) __dead;
static struct cmdtab {
const char *label;
Home |
Main Index |
Thread Index |
Old Index