Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/tools/ctf Mark more functions as __...
details: https://anonhg.NetBSD.org/src/rev/4c1fbd45167f
branches: trunk
changeset: 343446:4c1fbd45167f
user: roy <roy%NetBSD.org@localhost>
date: Thu Feb 04 17:47:43 2016 +0000
description:
Mark more functions as __dead.
diffstat:
external/cddl/osnet/dist/tools/ctf/common/memory.c | 2 +-
external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 690935803485 -r 4c1fbd45167f external/cddl/osnet/dist/tools/ctf/common/memory.c
--- a/external/cddl/osnet/dist/tools/ctf/common/memory.c Thu Feb 04 17:42:34 2016 +0000
+++ b/external/cddl/osnet/dist/tools/ctf/common/memory.c Thu Feb 04 17:47:43 2016 +0000
@@ -37,7 +37,7 @@
#include <strings.h>
#include "memory.h"
-static void
+static void __dead
memory_bailout(void)
{
(void) fprintf(stderr, "Out of memory\n");
diff -r 690935803485 -r 4c1fbd45167f external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c
--- a/external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c Thu Feb 04 17:42:34 2016 +0000
+++ b/external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c Thu Feb 04 17:47:43 2016 +0000
@@ -607,7 +607,7 @@
* completion. The run time of ctfmerge can, however, be measured in minutes
* in some cases, so this is not a valid option.
*/
-static void
+static void __dead
handle_sig(int sig)
{
terminate("Caught signal %d - exiting\n", sig);
Home |
Main Index |
Thread Index |
Old Index