diff src/dmlib.c @ 2414:69a5af2eb1ea

Remove useless dmMemset().
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 13 Jan 2020 23:27:01 +0200
parents 3d40a6767a4e
children 9807ae37ad69
line wrap: on
line diff
--- a/src/dmlib.c	Mon Jan 13 23:20:56 2020 +0200
+++ b/src/dmlib.c	Mon Jan 13 23:27:01 2020 +0200
@@ -123,19 +123,6 @@
 }
 
 
-#ifndef DM_HAVE_MEMSET
-void * dmMemset(void *ptr, const int c, size_t n)
-{
-    Uint8 *p = (Uint8 *) ptr;
-
-    while (n--)
-        *p++ = c;
-
-    return ptr;
-}
-#endif
-
-
 BOOL dmGetIntVal(const char *str, unsigned int *value, BOOL *neg)
 {
     int ch;