Module Name: src
Committed By: jmcneill
Date: Sat Jul 14 15:38:59 UTC 2018
Modified Files:
src/usr.sbin/tprof/arch: tprof_noarch.c
Log Message:
Mark tprof_event_init, tprof_event_list, tprof_event_lookup as dead
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/tprof/arch/tprof_noarch.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/tprof/arch/tprof_noarch.c
diff -u src/usr.sbin/tprof/arch/tprof_noarch.c:1.2 src/usr.sbin/tprof/arch/tprof_noarch.c:1.3
--- src/usr.sbin/tprof/arch/tprof_noarch.c:1.2 Sat Jul 14 07:54:37 2018
+++ src/usr.sbin/tprof/arch/tprof_noarch.c Sat Jul 14 15:38:59 2018
@@ -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 @@ int tprof_event_init(uint32_t);
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");