Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/tprof/arch Mark tprof_event_init, tprof_event_list, ...



details:   https://anonhg.NetBSD.org/src/rev/8a58600b5a7b
branches:  trunk
changeset: 324065:8a58600b5a7b
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Jul 14 15:38:59 2018 +0000

description:
Mark tprof_event_init, tprof_event_list, tprof_event_lookup as dead

diffstat:

 usr.sbin/tprof/arch/tprof_noarch.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r b9f5c902e858 -r 8a58600b5a7b usr.sbin/tprof/arch/tprof_noarch.c
--- a/usr.sbin/tprof/arch/tprof_noarch.c        Sat Jul 14 15:09:40 2018 +0000
+++ b/usr.sbin/tprof/arch/tprof_noarch.c        Sat Jul 14 15:38:59 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tprof_noarch.c,v 1.2 2018/07/14 07:54:37 maxv Exp $    */
+/*     $NetBSD: tprof_noarch.c,v 1.3 2018/07/14 15:38:59 jmcneill Exp $        */
 
 /*
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -43,19 +43,19 @@
 void tprof_event_list(void);
 void tprof_event_lookup(const char *, struct tprof_param *);
 
-int
+__dead int
 tprof_event_init(uint32_t ident)
 {
        errx(EXIT_FAILURE, "architecture not supported");
 }
 
-void
+__dead void
 tprof_event_list(void)
 {
        errx(EXIT_FAILURE, "architecture not supported");
 }
 
-void
+__dead void
 tprof_event_lookup(const char *name, struct tprof_param *param)
 {
        errx(EXIT_FAILURE, "architecture not supported");



Home | Main Index | Thread Index | Old Index