summaryrefslogtreecommitdiff
path: root/src/util.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-06-26 20:28:45 +0200
committerBardur Arantsson <bardur@scientician.net>2014-06-26 20:45:28 +0200
commit629b9a33952661972dd533377d8da594b95c2049 (patch)
treee1318ffb5e0eec50938dda2e454f5831fa1f0f00 /src/util.cc
parent2ec05306daf63e44c844ef4030c98e20f958f672 (diff)
Remove shim memset() implementation
Diffstat (limited to 'src/util.cc')
-rw-r--r--src/util.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/util.cc b/src/util.cc
index bc539b5c..9714b374 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -7,24 +7,6 @@
#include "messages.h"
#include "quark.h"
-#ifndef HAS_MEMSET
-
-/*
-* For those systems that don't have "memset()"
-*
-* Set the value of each of 'n' bytes starting at 's' to 'c', return 's'
-* If 'n' is negative, you will erase a whole lot of memory.
-*/
-char *memset(char *s, int c, huge n)
-{
- char *t;
- for (t = s; len--; ) *t++ = c;
- return (s);
-}
-
-#endif
-
-
#ifndef HAS_STRICMP