diff --git a/libr/include/r_flags.h b/libr/include/r_flags.h index 40ca18cea1..e63862a75e 100644 --- a/libr/include/r_flags.h +++ b/libr/include/r_flags.h @@ -51,7 +51,7 @@ R_API int r_flag_name_filter(char *name); R_API void r_flag_item_rename(RFlagItem *item, const char *name); /* spaces */ -R_API int r_flag_space_get(RFlag *f, char *name); +R_API int r_flag_space_get(RFlag *f, const char *name); R_API const char *r_flag_space_get_i(RFlag *f, int idx); R_API void r_flag_space_set(RFlag *f, const char *name); R_API void r_flag_space_list(RFlag *f); diff --git a/swig/Makefile b/swig/Makefile index 6495c6781d..52e5a49b8f 100644 --- a/swig/Makefile +++ b/swig/Makefile @@ -60,20 +60,20 @@ vdoc_pkg: # TODO: unspaguetti this targets perl: - @-[ "`grep perl supported.langs`" ] && cd perl && make + @-[ "`grep perl supported.langs`" ] && cd perl && make ; true python: - @-[ "`grep python supported.langs`" ] && cd python && make + @-[ "`grep python supported.langs`" ] && cd python && make ; true ruby: - @-[ "`grep ruby supported.langs`" ] && cd ruby && make + @-[ "`grep ruby supported.langs`" ] && cd ruby && make ; true lua: - @-[ "`grep lua supported.langs`" ] && cd lua && make + @-[ "`grep lua supported.langs`" ] && cd lua && make ; true go: @-[ -x "${GOBIN}/5g" -o -x "${GOBIN}/6g" -o -x "${GOBIN}/8g" ] && \ - [ "`grep go supported.langs`" ] && cd go && make + [ "`grep go supported.langs`" ] && cd go && make ; true java: @-[ "`grep java supported.langs`" ] && cd java && make diff --git a/swig/rules.mk b/swig/rules.mk index 097998cbe4..e1e0fcc1b9 100644 --- a/swig/rules.mk +++ b/swig/rules.mk @@ -31,7 +31,7 @@ ifeq ($(DEVEL_MODE),1) fi ; \ [ $$? = 0 ] && \ (cd .. && RELEASE=$(RELEASE) \ - sh do-swig.sh ${LANG} `echo $@ | sed -e s,.${SOEXT},,`) + sh do-swig.sh ${LANG} `echo $@ | sed -e s,.${SOEXT},,`) ; true else %.${SOEXT}: @-test ../vapi/`echo $@|sed -e s,.${SOEXT},.vapi,` -nt ${LIBS_PFX}$@ ; \ @@ -43,7 +43,7 @@ else `python2-config --cflags --libs 2>/dev/null` \ `pkg-config --cflags --libs $${LIB}` \ ${CFLAGS} ${LDFLAGS} -o ${LIBS_PFX}$@ ; \ - fi + fi ; true endif test: