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/75b08c04b737
branches: trunk
changeset: 813588:75b08c04b737
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 041ecbe6b892 -r 75b08c04b737 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 041ecbe6b892 -r 75b08c04b737 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