From 5eaf9435d043ada2459cca87079dd1817db51768 Mon Sep 17 00:00:00 2001 From: Ram Kishore Vegesna Date: Tue, 17 Apr 2018 15:29:32 +0000 Subject: Moved opts-stack.h include before all other includes. PR: 227446 Approved by: ken MFC after: 3 days --- sys/dev/ocs_fc/ocs_os.c | 4 ---- sys/dev/ocs_fc/ocs_os.h | 8 ++++++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sys/dev/ocs_fc') diff --git a/sys/dev/ocs_fc/ocs_os.c b/sys/dev/ocs_fc/ocs_os.c index 67f9a35c6d4d9..c7e881e3123e6 100644 --- a/sys/dev/ocs_fc/ocs_os.c +++ b/sys/dev/ocs_fc/ocs_os.c @@ -37,10 +37,6 @@ */ #include "ocs.h" -#include "opt_stack.h" -#include -#include -#include /* for debug of memory allocations */ static MALLOC_DEFINE(M_OCS, "OCS", "OneCore Storage data"); diff --git a/sys/dev/ocs_fc/ocs_os.h b/sys/dev/ocs_fc/ocs_os.h index 9c18f46ac1a5e..b59e242b34568 100644 --- a/sys/dev/ocs_fc/ocs_os.h +++ b/sys/dev/ocs_fc/ocs_os.h @@ -39,11 +39,11 @@ #ifndef _OCS_OS_H #define _OCS_OS_H -typedef struct ocs_softc ocs_t; - /*************************************************************************** * OS specific includes */ +#include "opt_stack.h" + #include #include #include @@ -78,6 +78,8 @@ typedef struct ocs_softc ocs_t; #include #include +#include /* for debug of memory allocations */ + /* OCS_OS_MAX_ISR_TIME_MSEC - maximum time driver code should spend in an interrupt * or kernel thread context without yielding */ @@ -152,6 +154,8 @@ typedef struct ocs_softc ocs_t; * Platform specific operations */ +typedef struct ocs_softc ocs_t; + /** * @ingroup os * @typedef ocs_os_handle_t -- cgit v1.3