summaryrefslogtreecommitdiff
path: root/src/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/memory.c')
-rw-r--r--src/memory.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/memory.c b/src/memory.c
index e73b87e..0e6ce5f 100644
--- a/src/memory.c
+++ b/src/memory.c
@@ -110,24 +110,3 @@ outofmemory(void)
ilog(LOG_TYPE_IRCD, "Out of memory: restarting server...");
restart("Out of Memory");
}
-
-#ifndef NDEBUG
-/*
- * frob some memory. debugging time.
- * -- adrian
- */
-void
-mem_frob(void *data, int len)
-{
- /* correct for Intel only! little endian */
- unsigned char b[4] = { 0xef, 0xbe, 0xad, 0xde };
- int i;
- char *cdata = data;
-
- for (i = 0; i < len; i++)
- {
- *cdata = b[i % 4];
- cdata++;
- }
-}
-#endif