Author: hpoussin
Date: Mon Mar 26 01:25:11 2007
New Revision: 26175
URL:
http://svn.reactos.org/svn/reactos?rev=26175&view=rev
Log:
Fix warnings by Pierre Schweitzer
Add svn:eol-style property
See issue #2096 for more details.
Modified:
trunk/reactos/drivers/multimedia/ks/allocators.c (props changed)
trunk/reactos/drivers/multimedia/ks/clocks.c (props changed)
trunk/reactos/drivers/multimedia/ks/connectivity.c (props changed)
trunk/reactos/drivers/multimedia/ks/events.c (props changed)
trunk/reactos/drivers/multimedia/ks/irp.c (contents, props changed)
trunk/reactos/drivers/multimedia/ks/ks.def (props changed)
trunk/reactos/drivers/multimedia/ks/ks.rc (props changed)
trunk/reactos/drivers/multimedia/ks/methods.c (props changed)
trunk/reactos/drivers/multimedia/ks/misc.c (props changed)
trunk/reactos/drivers/multimedia/ks/properties.c (props changed)
trunk/reactos/drivers/multimedia/ks/topology.c (props changed)
trunk/reactos/drivers/multimedia/ks/worker.c (props changed)
Propchange: trunk/reactos/drivers/multimedia/ks/allocators.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/drivers/multimedia/ks/clocks.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/drivers/multimedia/ks/connectivity.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/drivers/multimedia/ks/events.c
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/drivers/multimedia/ks/irp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/multimedia/ks/irp.…
==============================================================================
--- trunk/reactos/drivers/multimedia/ks/irp.c (original)
+++ trunk/reactos/drivers/multimedia/ks/irp.c Mon Mar 26 01:25:11 2007
@@ -4,6 +4,8 @@
*/
#include <ks.h>
+
+#define TAG(A, B, C, D) (IN ULONG)(((A)<<0) + ((B)<<8) + ((C)<<16) +
((D)<<24))
/*
@unimplemented
@@ -75,7 +77,7 @@
if ( ! Header )
return STATUS_INVALID_PARAMETER;
- Header = ExAllocatePoolWithTag(PagedPool, sizeof(KSDEVICE_HEADER), 'HDSK');
+ Header = ExAllocatePoolWithTag(PagedPool, sizeof(KSDEVICE_HEADER),
TAG('H','D','S','K'));
if ( ! Header )
return STATUS_INSUFFICIENT_RESOURCES;
@@ -97,7 +99,7 @@
/* TODO: Free content first */
- ExFreePoolWithTag(Header, 'HDSK');
+ ExFreePoolWithTag(Header, TAG('H','D','S','K'));
}
/*
@@ -153,7 +155,7 @@
/* TODO: Validate parameters */
- object_header = ExAllocatePoolWithTag(PagedPool, sizeof(KSOBJECT_HEADER),
'HOSK');
+ object_header = ExAllocatePoolWithTag(PagedPool, sizeof(KSOBJECT_HEADER),
TAG('H','O','S','K'));
if ( ! object_header )
{
@@ -176,7 +178,7 @@
KsFreeObjectHeader(
IN PVOID Header)
{
- ExFreePoolWithTag(Header, 'HOSK');
+ ExFreePoolWithTag(Header, TAG('H','O','S','K'));
/* TODO */
Propchange: trunk/reactos/drivers/multimedia/ks/irp.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/drivers/multimedia/ks/ks.def
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/drivers/multimedia/ks/ks.rc
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/drivers/multimedia/ks/methods.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/drivers/multimedia/ks/misc.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/drivers/multimedia/ks/properties.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/drivers/multimedia/ks/topology.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/drivers/multimedia/ks/worker.c
------------------------------------------------------------------------------
svn:eol-style = native