From e84f5ab3878b30bdddd2ee5a0dbddc10e00d219d Mon Sep 17 00:00:00 2001 From: EllipticEllipsis Date: Sun, 1 May 2022 23:06:35 +0100 Subject: Memstuff (#1164) * Un-fake a couple of matches in memory manip functions * Document fmodf * Un-fake a couple of matches in memory manip functions * Document fmodf * Rename functions and files * Document memmove, memsets, memcpys * Format * Sort out some missing sizeofs * Name fmodf * Rename local variables * size_t * Use COBRA_SHADOW_TEX_SIZE * Review * Tweak the Doxyfile to remove @brief requirement * Roman's review * Fix a bug comment * Change fmodf --- src/code/code_80106860.c | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 src/code/code_80106860.c (limited to 'src/code/code_80106860.c') diff --git a/src/code/code_80106860.c b/src/code/code_80106860.c deleted file mode 100644 index 4c1b8480b..000000000 --- a/src/code/code_80106860.c +++ /dev/null @@ -1,12 +0,0 @@ -#include "global.h" - -// memset used in __osMalloc, z_quake, z_view, and z_camera -void* func_80106860(void* ptr, s32 val, size_t size) { - u8* sp4 = ptr; - register s32 a3; - - for (a3 = size--; a3 != 0; a3 = size--) { - *sp4++ = val; - } - return ptr; -} -- cgit v1.2.3