Module Name: src
Committed By: martin
Date: Tue May 29 14:29:53 UTC 2018
Modified Files:
src/usr.bin/kdump: mkioctls
Log Message:
Use proper forward declaration for kmutex_t. This makes MKDTRACE=no builds
work again.
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/usr.bin/kdump/mkioctls
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/kdump/mkioctls
diff -u src/usr.bin/kdump/mkioctls:1.49 src/usr.bin/kdump/mkioctls:1.50
--- src/usr.bin/kdump/mkioctls:1.49 Tue May 29 13:10:28 2018
+++ src/usr.bin/kdump/mkioctls Tue May 29 14:29:53 2018
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: mkioctls,v 1.49 2018/05/29 13:10:28 martin Exp $
+# $NetBSD: mkioctls,v 1.50 2018/05/29 14:29:53 martin Exp $
#
# Copyright (c) 1994
# The Regents of the University of California. All rights reserved.
@@ -49,7 +49,7 @@ echo "typedef struct crap videomemory_t;
echo "typedef struct crap RF_AccTotals_t;" # XXX Raidframe lossage
echo "struct rf_test_acc { int _xxx; };" # XXX Raidframe lossage
echo "struct map_info { int _xxx[22]; };" # XXX Xorg lossage
-echo "typedef void *kmutex_t;" # XXX needed by ZFS headers
+echo "typedef struct kmutex kmutex_t;" # XXX needed by ZFS headers
echo "#include <stdio.h>"
echo "#include <sys/types.h>"
echo "#include <sys/param.h>"