did I miss a "the tree isn't supposed to build anymore" memo or what? fixes for compilation with GCC 3.3.3

svn path=/trunk/; revision=15883
This commit is contained in:
KJK::Hyperion 2005-06-13 14:36:02 +00:00
parent 5347091d15
commit e3502f710b
5 changed files with 8 additions and 25 deletions

View file

@ -45,9 +45,11 @@
/* BSD style release date */
#define BPF_RELEASE 199606
#ifndef _BSDTYPES_DEFINED
typedef UCHAR u_char;
typedef USHORT u_short;
typedef UINT u_int;
#endif
typedef LONG bpf_int32;
typedef ULONG bpf_u_int32;
typedef ULONG u_int32;

View file

@ -31,7 +31,7 @@
#define ADNS_INTERNAL_H_INCLUDED
#include "config.h"
typedef unsigned char byte;
/*typedef unsigned char byte;*/ /* FIXME: horrible kludge to avoid conflicts with an SDK type */
#include <stdarg.h>
#include <assert.h>

View file

@ -108,24 +108,20 @@ typedef enum _KD_CONTINUE_TYPE
typedef
VOID
STDCALL
(*PKDP_INIT_ROUTINE)(struct _KD_DISPATCH_TABLE *DispatchTable,
(STDCALL*PKDP_INIT_ROUTINE)(struct _KD_DISPATCH_TABLE *DispatchTable,
ULONG BootPhase);
typedef
VOID
STDCALL
(*PKDP_PRINT_ROUTINE)(PCH String);
(STDCALL*PKDP_PRINT_ROUTINE)(PCH String);
typedef
VOID
STDCALL
(*PKDP_PROMPT_ROUTINE)(PCH String);
(STDCALL*PKDP_PROMPT_ROUTINE)(PCH String);
typedef
KD_CONTINUE_TYPE
STDCALL
(*PKDP_EXCEPTION_ROUTINE)(PEXCEPTION_RECORD ExceptionRecord,
(STDCALL*PKDP_EXCEPTION_ROUTINE)(PEXCEPTION_RECORD ExceptionRecord,
PCONTEXT Context,
PKTRAP_FRAME TrapFrame);

View file

@ -36,11 +36,10 @@
#ifndef __USE_W32API
typedef struct _KPROCESS *PKPROCESS;
typedef struct _DISPATCHER_HEADER *PDISPATCHER_HEADER;
#endif /* __USE_W32API */
typedef struct _DISPATCHER_HEADER *PDISPATCHER_HEADER;
typedef struct _HARDWARE_PTE_X86 {
ULONG Valid : 1;
ULONG Write : 1;

View file

@ -132,20 +132,6 @@ typedef struct _CPU_REGISTER
#define EIP_REGNO 8
typedef
VOID
STDCALL_FUNC
(*PKSYSTEM_ROUTINE)(PKSTART_ROUTINE StartRoutine,
PVOID StartContext);
VOID
STDCALL
KiThreadStartup(PKSYSTEM_ROUTINE SystemRoutine,
PKSTART_ROUTINE StartRoutine,
PVOID StartContext,
BOOLEAN UserThread,
KTRAP_FRAME TrapFrame);
static CPU_REGISTER GspRegisters[NUMREGS] =
{
{ 4, FIELD_OFFSET (KTRAP_FRAME_X86, Eax), FIELD_OFFSET (CONTEXT, Eax), TRUE },