From 175365e6fd0b3043c322fffb49d52588af9bd20e Mon Sep 17 00:00:00 2001 From: Rubidium Date: Mon, 8 Apr 2024 19:24:03 +0200 Subject: [PATCH] Codechange: remove now unused endof macro --- src/stdafx.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/stdafx.h b/src/stdafx.h index 7f598de39e..20d033ac94 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -286,14 +286,6 @@ char (&ArraySizeHelper(T (&array)[N]))[N]; */ #define lengthof(array) (sizeof(ArraySizeHelper(array))) -/** - * Get the end element of an fixed size array. - * - * @param x The pointer to the first element of the array - * @return The pointer past to the last element of the array - */ -#define endof(x) (&x[lengthof(x)]) - /** * Get the last element of an fixed size array. *