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/b6a1c968dfa1
branches:  trunk
changeset: 320632:b6a1c968dfa1
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 b33cda3b1096 -r b6a1c968dfa1 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