fix some warnings

----------------------------------------------------------------------

svn path=/trunk/; revision=3926
This commit is contained in:
guido 2003-01-03 00:28:07 +00:00
parent 31fe11951c
commit 85c1893693
3 changed files with 4 additions and 6 deletions

View file

@ -1,4 +1,4 @@
/* $Id: irql.c,v 1.8 2003/01/02 16:07:49 hbirr Exp $ /* $Id: irql.c,v 1.9 2003/01/03 00:28:07 guido Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -34,7 +34,7 @@ typedef union
{ {
BYTE master; BYTE master;
BYTE slave; BYTE slave;
} };
} }
PIC_MASK; PIC_MASK;

View file

@ -1,4 +1,4 @@
/* $Id: genntdll.c,v 1.11 2002/07/04 19:56:33 dwelch Exp $ /* $Id: genntdll.c,v 1.12 2003/01/03 00:28:07 guido Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS version of ntdll * PROJECT: ReactOS version of ntdll
@ -29,7 +29,7 @@
/* FUNCTIONS ****************************************************************/ /* FUNCTIONS ****************************************************************/
void write_syscall_stub(FILE* out, FILE* out3, char* name, char* name2, void write_syscall_stub(FILE* out, FILE* out3, char* name, char* name2,
unsigned int nr_args, unsigned int sys_call_idx) char* nr_args, unsigned int sys_call_idx)
{ {
#ifdef PARAMETERIZED_LIBS #ifdef PARAMETERIZED_LIBS
fprintf(out,"__asm__(\"\\n\\t.global _%s@%s\\n\\t\"\n",name,nr_args); fprintf(out,"__asm__(\"\\n\\t.global _%s@%s\\n\\t\"\n",name,nr_args);

View file

@ -5,8 +5,6 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#define NULL ((void*)0)
#define IMAGE_DOS_MAGIC 0x5a4d #define IMAGE_DOS_MAGIC 0x5a4d
#define IMAGE_PE_MAGIC 0x00004550 #define IMAGE_PE_MAGIC 0x00004550