From ceb08698f2ab235d37571dd8489ae8313efcbfb7 Mon Sep 17 00:00:00 2001 From: kevlo Date: Wed, 10 Oct 2012 08:36:38 +0000 Subject: Revert previous commit... Pointyhat to: kevlo (myself) --- tools/regression/kthread/kld/kthrdlk.c | 9 +++++---- tools/regression/net80211/ccmp/test_ccmp.c | 2 +- tools/regression/net80211/tkip/test_tkip.c | 2 +- tools/regression/net80211/wep/test_wep.c | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) (limited to 'tools/regression') diff --git a/tools/regression/kthread/kld/kthrdlk.c b/tools/regression/kthread/kld/kthrdlk.c index a64dc2e..67825b6 100644 --- a/tools/regression/kthread/kld/kthrdlk.c +++ b/tools/regression/kthread/kld/kthrdlk.c @@ -193,11 +193,12 @@ kthrdlk_handler(module_t mod, int /*modeventtype_t*/ what, } static moduledata_t mod_data= { - "kthrdlk", - kthrdlk_handler, - NULL -}; + "kthrdlk", + kthrdlk_handler, + 0 + }; MODULE_VERSION(kthrdlk, 1); DECLARE_MODULE(kthrdlk, mod_data, SI_SUB_EXEC, SI_ORDER_ANY); + diff --git a/tools/regression/net80211/ccmp/test_ccmp.c b/tools/regression/net80211/ccmp/test_ccmp.c index da13ac7..d78be95 100644 --- a/tools/regression/net80211/ccmp/test_ccmp.c +++ b/tools/regression/net80211/ccmp/test_ccmp.c @@ -742,7 +742,7 @@ test_ccmp_modevent(module_t mod, int type, void *unused) static moduledata_t test_ccmp_mod = { "test_ccmp", test_ccmp_modevent, - NULL + 0 }; DECLARE_MODULE(test_ccmp, test_ccmp_mod, SI_SUB_DRIVERS, SI_ORDER_FIRST); MODULE_VERSION(test_ccmp, 1); diff --git a/tools/regression/net80211/tkip/test_tkip.c b/tools/regression/net80211/tkip/test_tkip.c index 3909bbd..5a63978 100644 --- a/tools/regression/net80211/tkip/test_tkip.c +++ b/tools/regression/net80211/tkip/test_tkip.c @@ -381,7 +381,7 @@ test_tkip_modevent(module_t mod, int type, void *unused) static moduledata_t test_tkip_mod = { "test_tkip", test_tkip_modevent, - NULL + 0 }; DECLARE_MODULE(test_tkip, test_tkip_mod, SI_SUB_DRIVERS, SI_ORDER_FIRST); MODULE_VERSION(test_tkip, 1); diff --git a/tools/regression/net80211/wep/test_wep.c b/tools/regression/net80211/wep/test_wep.c index 04bd054..b498195 100644 --- a/tools/regression/net80211/wep/test_wep.c +++ b/tools/regression/net80211/wep/test_wep.c @@ -328,7 +328,7 @@ test_wep_modevent(module_t mod, int type, void *unused) static moduledata_t test_wep_mod = { "test_wep", test_wep_modevent, - NULL + 0 }; DECLARE_MODULE(test_wep, test_wep_mod, SI_SUB_DRIVERS, SI_ORDER_FIRST); MODULE_VERSION(test_wep, 1); -- cgit v1.1