#include "console.h"
#include <minilib.h>
-void memcpy(void *dest, void *src, int bytes)
+void memcpy(void *dest, const void *src, int bytes)
{
- char * cdest = dest;
- char * csrc = src;
+ char *cdest = dest;
+ const char *csrc = src;
while (bytes--)
*(cdest++) = *(csrc++);
}
tohex(d, l);
puts(d);
}
-
-