Mercurial > hg > dmlib
diff minijss/jssmod.c @ 1167:848a88ce7a57
Use dmMemset().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 05 Mar 2015 07:37:35 +0200 |
parents | aa3738b121d1 |
children | 823f8e06ff6a |
line wrap: on
line diff
--- a/minijss/jssmod.c Thu Mar 05 07:36:51 2015 +0200 +++ b/minijss/jssmod.c Thu Mar 05 07:37:35 2015 +0200 @@ -4,7 +4,6 @@ * (C) Copyright 2006-2015 Tecnic Software productions (TNSP) */ #include "jssmod.h" -#include <string.h> #ifndef JSS_LIGHT @@ -363,7 +362,7 @@ #endif // Free the module structure - memset(module, 0, sizeof(JSSModule)); + dmMemset(module, 0, sizeof(JSSModule)); dmFree(module); return DMERR_OK;