[HOST-TOOLS]

- Fix some GCC6 warnings

svn path=/trunk/; revision=73196
This commit is contained in:
Thomas Faber 2016-11-10 15:34:25 +00:00
parent 373bee1800
commit 429d685816
3 changed files with 41 additions and 0 deletions

View file

@ -70,6 +70,26 @@
#define OBJ_NAME_PATH_SEPARATOR ((WCHAR)L'\\')
#define UNICODE_NULL ((WCHAR)0)
VOID NTAPI
RtlInitUnicodeString(
IN OUT PUNICODE_STRING DestinationString,
IN PCWSTR SourceString);
LONG NTAPI
RtlCompareUnicodeString(
IN PCUNICODE_STRING String1,
IN PCUNICODE_STRING String2,
IN BOOLEAN CaseInSensitive);
VOID
NTAPI
KeBugCheckEx(
IN ULONG BugCheckCode,
IN ULONG_PTR BugCheckParameter1,
IN ULONG_PTR BugCheckParameter2,
IN ULONG_PTR BugCheckParameter3,
IN ULONG_PTR BugCheckParameter4);
VOID NTAPI
KeQuerySystemTime(
OUT PLARGE_INTEGER CurrentTime);

View file

@ -8,6 +8,7 @@
/* INCLUDES *******************************************************************/
#include <ctype.h>
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
@ -66,12 +67,31 @@ typedef struct tagLAYOUT
LAYOUTENTRY Entry[110];
} LAYOUT, *PLAYOUT;
ULONG
DoOutput(
IN ULONG StateCount,
IN PULONG ShiftStates,
IN PKEYNAME DescriptionData,
IN PKEYNAME LanguageData,
IN PVOID AttributeData,
IN PVOID DeadKeyData,
IN PVOID LigatureData,
IN PKEYNAME KeyNameData,
IN PKEYNAME KeyNameExtData,
IN PKEYNAME KeyNameDeadData
);
PCHAR
getVKName(
IN ULONG VirtualKey,
IN BOOLEAN Prefix
);
ULONG
DoParsing(
VOID
);
extern BOOLEAN Verbose, UnicodeFile, SanityCheck, FallbackDriver;
extern PCHAR gpszFileName;
extern FILE* gfpInput;

View file

@ -49,6 +49,7 @@
#include "header.h"
#include "hash.h"
#include "typetree.h"
#include "parser.h"
#ifdef __REACTOS__
#define S_OK 0