diff options
Diffstat (limited to 'src/util.cc')
-rw-r--r-- | src/util.cc | 18 |
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 |