Mercurial > hg > index.cgi
diff lwlink/objdump.c @ 8:fdc11ef4115b
Switched lwlink to lw_cmdline from argp and also brought in lw_alloc and lw_string to replace util.c
author | lost@l-w.ca |
---|---|
date | Sat, 22 Jan 2011 09:58:24 -0700 |
parents | 7317fbe024af |
children | fc8386b13399 |
line wrap: on
line diff
--- a/lwlink/objdump.c Sat Jan 22 09:40:52 2011 -0700 +++ b/lwlink/objdump.c Sat Jan 22 09:58:24 2011 -0700 @@ -25,7 +25,7 @@ #include <stdlib.h> #include <string.h> -#include "util.h" +#include <lw_alloc.h> #ifdef HAVE_CONFIG_H #include "config.h" @@ -100,7 +100,7 @@ size = ftell(f); rewind(f); - filedata = lw_malloc(size); + filedata = lw_alloc(size); bread = fread(filedata, 1, size, f); if (bread < size)