Author: pschweitzer
Date: Fri Nov 11 18:16:43 2016
New Revision: 73202
URL:
http://svn.reactos.org/svn/reactos?rev=73202&view=rev
Log:
[NTOSKRNL]
Don't redefine RTL_NUMBER_OF
Modified:
trunk/reactos/ntoskrnl/kdbg/kdb.h
trunk/reactos/ntoskrnl/mm/section.c
Modified: trunk/reactos/ntoskrnl/kdbg/kdb.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/kdbg/kdb.h?rev=73…
==============================================================================
--- trunk/reactos/ntoskrnl/kdbg/kdb.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/kdbg/kdb.h [iso-8859-1] Fri Nov 11 18:16:43 2016
@@ -1,10 +1,6 @@
#pragma once
/* DEFINES *******************************************************************/
-
-#ifndef RTL_NUMBER_OF
-# define RTL_NUMBER_OF(x) (sizeof(x) / sizeof((x)[0]))
-#endif
/* formerly located in kdbg/kdb_symbols.c */
#define TAG_KDBS 'SBDK'
Modified: trunk/reactos/ntoskrnl/mm/section.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/section.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/section.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/section.c [iso-8859-1] Fri Nov 11 18:16:43 2016
@@ -3152,11 +3152,6 @@
IN PEXEFMT_CB_READ_FILE ReadFileCb,
IN PEXEFMT_CB_ALLOCATE_SEGMENTS AllocateSegmentsCb
);
-
-/* TODO: this is a standard DDK/PSDK macro */
-#ifndef RTL_NUMBER_OF
-#define RTL_NUMBER_OF(ARR_) (sizeof(ARR_) / sizeof((ARR_)[0]))
-#endif
static PEXEFMT_LOADER ExeFmtpLoaders[] =
{