]> git.sur5r.net Git - openocd/blobdiff - src/helper/replacements.c
move options handling to separate file to better support embedded implementations...
[openocd] / src / helper / replacements.c
index 5804b1973adb2946bf6e3e30e191c92717042ff5..7a6729b8129f6938243f9f39022c2a4227453209 100644 (file)
  ***************************************************************************/
 #ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif\r
-\r
+#endif
+
 /* DANGER!!!! These must be defined *BEFORE* replacements.h and the malloc() macro!!!! */
 
 #include <stdlib.h>
+#include <string.h>
 #include <strings.h>
-/* \r
- * clear_malloc\r
- *\r
- * will alloc memory and clear it\r
+/* 
+ * clear_malloc
+ *
+ * will alloc memory and clear it
  */
 void *clear_malloc(size_t size)
 {