Module Name:    src
Committed By:   riastradh
Date:           Fri Feb  5 19:56:00 UTC 2016

Modified Files:
        src/external/cddl/osnet/dist/tools/ctf/common: list.c

Log Message:
Need nbtools_config.h for __unused.

Fixes

.../src/tools/ctfmerge/../../external/cddl/osnet/dist/tools/ctf/common/list.c:73:47:
 error: expected ';', ',' or ')' before '__unused'
 list_defcmp(void *d1, void *d2, void *private __unused)
                                               ^~~~~~~~

on non-NetBSD systems, where <assert.h>, <stdlib.h>, <stdio.h>, and
<sys/types.h> don't define __unused.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/cddl/osnet/dist/tools/ctf/common/list.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/cddl/osnet/dist/tools/ctf/common/list.c
diff -u src/external/cddl/osnet/dist/tools/ctf/common/list.c:1.2 src/external/cddl/osnet/dist/tools/ctf/common/list.c:1.3
--- src/external/cddl/osnet/dist/tools/ctf/common/list.c:1.2	Sun Feb 21 00:49:55 2010
+++ src/external/cddl/osnet/dist/tools/ctf/common/list.c	Fri Feb  5 19:56:00 2016
@@ -30,6 +30,10 @@
  * Routines for manipulating linked lists
  */
 
+#if HAVE_NBTOOL_CONFIG_H
+# include "nbtool_config.h"
+#endif
+
 #include <stdio.h>
 #include <assert.h>
 #include <stdlib.h>

Reply via email to