* Improve the way we include the ntoskrnl internal hdl.h.
* Remove one time inclusions from the main header and put them back where they belong.
* Improve the GUIDs situation.
* Improve header inclusions.
CORE-7716

svn path=/trunk/; revision=61939
This commit is contained in:
Amine Khaldi 2014-02-03 00:11:14 +00:00
parent 9ff8ae1f1b
commit c83d2b54d2
10 changed files with 9 additions and 18 deletions

View file

@ -1,4 +1,6 @@
include_directories(${REACTOS_SOURCE_DIR})
list(APPEND SOURCE
chanmgr.c
channel.c

View file

@ -10,8 +10,6 @@
#include "sacdrv.h"
/* GLOBALS ********************************************************************/
/* FUNCTIONS ******************************************************************/
BOOLEAN
@ -575,4 +573,3 @@ ChannelClose(IN PSAC_CHANNEL Channel)
Status = ChannelDereferenceHandles(Channel);
return Status;
}

View file

@ -10,8 +10,6 @@
#include "sacdrv.h"
/* GLOBALS ********************************************************************/
/* FUNCTIONS ******************************************************************/
NTSTATUS

View file

@ -10,6 +10,8 @@
#include "sacdrv.h"
#include <ndk/exfuncs.h>
/* GLOBALS ********************************************************************/
PVOID GlobalBuffer;

View file

@ -10,6 +10,8 @@
#include "sacdrv.h"
#include <initguid.h>
/* GLOBALS ********************************************************************/
DEFINE_GUID(PRIMARY_SAC_CHANNEL_APPLICATION_GUID,
@ -890,4 +892,3 @@ ConMgrHandleEvent(IN ULONG EventCode,
ASSERT(FALSE);
return STATUS_NOT_IMPLEMENTED;
}

View file

@ -501,4 +501,3 @@ SuccessExit:
SAC_DBG(SAC_DBG_ENTRY_EXIT, "Exiting with status TRUE\n");
return TRUE;
}

View file

@ -10,8 +10,6 @@
#include "sacdrv.h"
/* GLOBALS ********************************************************************/
/* FUNCTIONS ******************************************************************/
NTSTATUS

View file

@ -10,8 +10,6 @@
#include "sacdrv.h"
/* GLOBALS ********************************************************************/
/* FUNCTIONS ******************************************************************/
NTSTATUS

View file

@ -9,14 +9,8 @@
/* INCLUDES *******************************************************************/
#include <ntifs.h>
#include <intrin.h>
#include <wchar.h>
#include <stdio.h>
#include <ndk/obtypes.h>
#include <ndk/exfuncs.h>
#include <ndk/rtlfuncs.h>
#include <../../../ntoskrnl/include/internal/hdl.h>
#include <initguid.h>
#include <ntoskrnl/include/internal/hdl.h>
#include <sacmsg.h>
/* DEFINES ********************************************************************/

View file

@ -10,6 +10,8 @@
#include "sacdrv.h"
#include <ndk/rtlfuncs.h>
/* GLOBALS ********************************************************************/
PCHAR Utf8ConversionBuffer;