Skip to content

Commit

Permalink
Remove unused r_alloca_*
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoisin committed Aug 18, 2014
1 parent 702ac74 commit 524ac82
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 301 deletions.
2 changes: 1 addition & 1 deletion build/radare2.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ M.make ({
path: 'libr/util',
type: 'library',
link: ['-liconv'],
files: [ "alloca.c", "base64.c", "base85.c", "bitmap.c",
files: [ "base64.c", "base85.c", "bitmap.c",
"btree.c", "buf.c", "cache.c", "calc.c", "chmod.c",
"constr.c", "file.c", "flist.c", "graph.c", "hex.c",
"ht.c", "ht64.c", "iconv.c", "judy64na.c", "list.c",
Expand Down
4 changes: 0 additions & 4 deletions libr/include/r_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -511,10 +511,6 @@ R_API char *r_sys_cmd_str(const char *cmd, const char *input, int *len);
R_API char *r_sys_cmd_strf(const char *cmd, ...);
//#define r_sys_cmd_str(cmd, input, len) r_sys_cmd_str_full(cmd, input, len, 0)
R_API void r_sys_backtrace(void);
R_API int r_alloca_init();
R_API ut8 *r_alloca_bytes(int len);
R_API char *r_alloca_str(const char *str);
R_API int r_alloca_ret_i(int n);

/* utf8 */
typedef wchar_t RRune;
Expand Down
2 changes: 1 addition & 1 deletion libr/util/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include ../config.mk
NAME=r_util
DEPS=

OBJS=mem.o pool.o num.o str.o hex.o file.o alloca.o range.o
OBJS=mem.o pool.o num.o str.o hex.o file.o range.o
OBJS+=prof.o cache.o sys.o buf.o w32-sys.o base64.o base85.o
OBJS+=list.o flist.o ht.o ht64.o mixed.o btree.o chmod.o graph.o
OBJS+=regex/regcomp.o regex/regerror.o regex/regexec.o uleb128.o
Expand Down
64 changes: 0 additions & 64 deletions libr/util/alloca.c

This file was deleted.

159 changes: 0 additions & 159 deletions libr/util/alloca.s

This file was deleted.

72 changes: 0 additions & 72 deletions libr/util/t/ralloc.c

This file was deleted.

0 comments on commit 524ac82

Please sign in to comment.