From ad31084ee1a28e8828dc38f1d7a746dfe996373d Mon Sep 17 00:00:00 2001 From: guenther Date: Sun, 18 Jan 2015 20:05:20 +0000 Subject: [PATCH] Eliminate a gcc warnings by not #defining _KERNEL when pulling in : it doesn't expose anything kdump cares about. Also, COMPAT_43 is dead warning noted by deraadt@ --- usr.bin/kdump/mksubr | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/usr.bin/kdump/mksubr b/usr.bin/kdump/mksubr index 8eb431279b0..7dcc42cf215 100644 --- a/usr.bin/kdump/mksubr +++ b/usr.bin/kdump/mksubr @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: mksubr,v 1.25 2014/12/11 05:44:12 guenther Exp $ +# $OpenBSD: mksubr,v 1.26 2015/01/18 20:05:20 guenther Exp $ # # Copyright (c) 2006 David Kirchner # @@ -269,10 +269,7 @@ cat <<_EOF_ #undef _KERNEL #include #include -#define _KERNEL -#define COMPAT_43 #include -#undef _KERNEL #include #include #include -- 2.20.1