Fixes for gcc-2.95.3-4

Fixed typos

svn path=/trunk/; revision=1970
This commit is contained in:
Eric Kohl 2001-06-15 11:15:32 +00:00
parent 2f3eb30871
commit ae87e6af46
4 changed files with 20 additions and 15 deletions

View file

@ -1,5 +1,5 @@
/*
* $Id: fat.c,v 1.26 2001/06/14 10:02:59 ekohl Exp $
* $Id: fat.c,v 1.27 2001/06/15 11:14:53 ekohl Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -690,7 +690,7 @@ FAT32WriteCluster(PDEVICE_EXTENSION DeviceExt,
}
ExFreePool (Block);
#endif
KeBugCheck(0);
// KeBugCheck(0);
return(STATUS_SUCCESS);
}

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.29 2001/05/02 03:18:03 rex Exp $
# $Id: makefile,v 1.30 2001/06/15 11:15:32 ekohl Exp $
#
#
PATH_TO_TOP = ../../..
@ -7,11 +7,12 @@ TARGET=vfatfs
OBJECTS = blockdev.o close.o create.o dir.o dirwr.o iface.o string.o fat.o \
rw.o finfo.o volume.o shutdown.o cleanup.o fcb.o $(TARGET).coff
LIBS = ../../../ntoskrnl/ntoskrnl.a
LIBS = $(PATH_TO_TOP)/ntoskrnl/ntoskrnl.a
CFLAGS = -g -Wall -Werror
all: $(TARGET).nostrip.sys $(TARGET).sys
all: $(TARGET).sys.unstripped $(TARGET).sys
.phony: all
@ -22,9 +23,11 @@ ifeq ($(DOSCLI),yes)
- $(RM) junk.tmp
- $(RM) base.tmp
- $(RM) temp.exp
- $(RM) $(TARGET).sym
- $(RM) $(TARGET).sys
- $(RM) $(TARGET).sys.unstripped
else
- $(RM) $(OBJECTS) $(TARGET).coff junk.tmp base.tmp temp.exp $(TARGET).sys $(TARGET).nostrip.sys
- $(RM) $(OBJECTS) $(TARGET).coff junk.tmp base.tmp temp.exp $(TARGET).sys $(TARGET).sys.unstripped
endif
.phony: clean
@ -39,7 +42,8 @@ dist: ../../../$(DIST_DIR)/drivers/$(TARGET).sys
../../../$(DIST_DIR)/drivers/$(TARGET).sys: $(TARGET).sys
$(CP) $(TARGET).sys ../../../$(DIST_DIR)/drivers/$(TARGET).sys
$(TARGET).nostrip.sys: $(OBJECTS) $(LIBS)
$(TARGET).sys.unstripped: $(OBJECTS) $(LIBS)
$(LD) -r -o vfat.o $(OBJECTS)
$(CC) -specs=../../svc_specs -mdll -o junk.tmp -Wl,--defsym,_end=end -Wl,--defsym,_edata=__data_end__ -Wl,--defsym,_etext=etext -Wl,--base-file,base.tmp -Wl,"-h vfatfs.sys" vfat.o $(LIBS)
- $(RM) junk.tmp
@ -49,8 +53,9 @@ $(TARGET).nostrip.sys: $(OBJECTS) $(LIBS)
--output-exp temp.exp \
--def vfatfs.def
- $(RM) base.tmp
$(CC) -Wl,--image-base,0x10000 -Wl,-e,_DriverEntry@8 -Wl,temp.exp -Wl,"-h vfatfs.sys" -specs=../../svc_specs -mdll -o $(TARGET).nostrip.sys vfat.o $(LIBS)
$(CC) -Wl,--image-base,0x10000 -Wl,-e,_DriverEntry@8 -Wl,temp.exp -Wl,"-h vfatfs.sys" -specs=../../svc_specs -mdll -o $(TARGET).sys.unstripped vfat.o $(LIBS)
- $(RM) temp.exp
$(NM) --numeric-sort $(TARGET).sys.unstripped >$(TARGET).sym
$(TARGET).sys: $(OBJECTS) $(LIBS)

View file

@ -1,4 +1,4 @@
/* $Id: mmtypes.h,v 1.9 2000/07/07 10:30:54 dwelch Exp $ */
/* $Id: mmtypes.h,v 1.10 2001/06/15 11:13:08 ekohl Exp $ */
#ifndef _INCLUDE_DDK_MMTYPES_H
#define _INCLUDE_DDK_MMTYPES_H
@ -6,11 +6,11 @@
#include <ntos/mm.h>
#ifdef __NTOSKRNL__
PVOID EXPORTED MmUserProbeAddress;
PVOID EXPORTED MmHighestUserAddress;
extern PVOID EXPORTED MmUserProbeAddress;
extern PVOID EXPORTED MmHighestUserAddress;
#else
PVOID IMPORTED MmUserProbeAddress;
PVOID IMPORTED MmHighestUserAddress;
extern PVOID IMPORTED MmUserProbeAddress;
extern PVOID IMPORTED MmHighestUserAddress;
#endif
#ifdef __NTOSKRNL__

View file

@ -1,4 +1,4 @@
/* $Id: volume.c,v 1.19 2001/06/11 19:54:05 ekohl Exp $
/* $Id: volume.c,v 1.20 2001/06/15 11:14:06 ekohl Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
@ -635,7 +635,7 @@ SetVolumeLabelW(LPCWSTR lpRootPathName,
sizeof(FILE_FS_LABEL_INFORMATION) +
LabelLength);
LabelInfo->VolumeLabelLength = LabelLength;
wcscpy(&LabelInfo->VolumeLabel,
wcscpy(LabelInfo->VolumeLabel,
lpVolumeName);
hFile = CreateFileW(lpRootPathName,