Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/modules/dtrace/dtrace Elide function pointer cast errors



details:   https://anonhg.NetBSD.org/src/rev/eb1d1b5dfb5f
branches:  trunk
changeset: 1004129:eb1d1b5dfb5f
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Oct 13 22:30:52 2019 +0000

description:
Elide function pointer cast errors

diffstat:

 sys/modules/dtrace/dtrace/Makefile |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (17 lines):

diff -r fb75e0477a80 -r eb1d1b5dfb5f sys/modules/dtrace/dtrace/Makefile
--- a/sys/modules/dtrace/dtrace/Makefile        Sun Oct 13 21:56:14 2019 +0000
+++ b/sys/modules/dtrace/dtrace/Makefile        Sun Oct 13 22:30:52 2019 +0000
@@ -1,3 +1,4 @@
+# $NetBSD: Makefile,v 1.12 2019/10/13 22:30:52 christos Exp $
 # $FreeBSD: src/sys/modules/dtrace/dtrace/Makefile,v 1.2.2.1 2009/08/03 08:13:06 kensmith Exp $
 
 .include "../../Makefile.inc"
@@ -19,6 +20,8 @@
 .PATH: ${OSNETDIR}/dev/dtrace
 .PATH: ${OSNETDIR}/dev/dtrace/${ARCH}
 
+COPTS.dtrace.c += ${GCC_NO_CAST_FUNCTION_TYPE}
+
 KMOD=          dtrace
 SRCS=          dtrace.c \
                dtrace_xoroshiro128_plus.c \



Home | Main Index | Thread Index | Old Index