Author: pschweitzer
Date: Wed Feb 29 19:12:59 2012
New Revision: 55929
URL:
http://svn.reactos.org/svn/reactos?rev=55929&view=rev
Log:
[NTOSKRNL]
Get rid off TAG macro
Modified:
trunk/reactos/ntoskrnl/fsrtl/notify.c
trunk/reactos/ntoskrnl/include/internal/fsrtl.h
Modified: trunk/reactos/ntoskrnl/fsrtl/notify.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/notify.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/fsrtl/notify.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/fsrtl/notify.c [iso-8859-1] Wed Feb 29 19:12:59 2012
@@ -495,7 +495,7 @@
*NotifySync = NULL;
RealNotifySync = ExAllocatePoolWithTag(NonPagedPool |
POOL_RAISE_IF_ALLOCATION_FAILURE,
- sizeof(REAL_NOTIFY_SYNC), TAG('F',
'S', 'N', 'S'));
+ sizeof(REAL_NOTIFY_SYNC), 'FSNS');
ExInitializeFastMutex(&(RealNotifySync->FastMutex));
RealNotifySync->OwningThread = 0;
RealNotifySync->OwnerCount = 0;
@@ -570,7 +570,7 @@
{
if (*NotifySync)
{
- ExFreePoolWithTag(*NotifySync, TAG('F', 'S', 'N',
'S'));
+ ExFreePoolWithTag(*NotifySync, 'FSNS');
*NotifySync = NULL;
}
}
Modified: trunk/reactos/ntoskrnl/include/internal/fsrtl.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/fsrtl.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/fsrtl.h [iso-8859-1] Wed Feb 29 19:12:59 2012
@@ -5,10 +5,6 @@
* PURPOSE: Internal header for the File System Runtime Library
* PROGRAMMERS: Alex Ionescu (alex.ionescu(a)reactos.org)
*/
-
-#ifndef TAG
-#define TAG(w,x,y,z) (((w)<<24)|((x)<<16)|((y)<<8)|(z))
-#endif
//
// Define this if you want debugging support