/branches/shell/uspace/app/bdsh/util.c |
---|
144,12 → 144,4 |
return (cli_strtok_r(s, delim, &last)); |
} |
/* for debugging, not really used */ |
void cli_free(void **pointer) |
{ |
if (*pointer != NULL) { |
free(*pointer); |
*pointer = NULL; |
} |
} |
/branches/shell/uspace/app/bdsh/util.h |
---|
9,5 → 9,4 |
extern char * cli_strdup(const char *s1); |
extern char * cli_strtok_r(char *, const char *, char **); |
extern char * cli_strtok(char *, const char *); |
extern void cli_free(void **); |
#endif |
/branches/shell/uspace/app/bdsh/Makefile.gnu |
---|
28,7 → 28,7 |
# POSSIBILITY OF SUCH DAMAGE. |
CC = gcc |
CFLAGS = -Wall -Wstrict-prototypes -Wmissing-prototypes -fno-strict-aliasing |
CFLAGS = -Wall -Wstrict-prototypes -Wmissing-prototypes |
PROGRAM = scli |
# Any directory that cleaning targets should know about |
/branches/shell/uspace/app/bdsh/Makefile |
---|
36,7 → 36,7 |
SOFTINT_PREFIX = ../../lib/softint |
include $(LIBC_PREFIX)/Makefile.toolchain |
CFLAGS += -I../../srv/kbd/include -DHELENOS -fno-strict-aliasing |
CFLAGS += -I../../srv/kbd/include -DHELENOS |
LIBS = $(LIBC_PREFIX)/libc.a |
DEFS += -DRELEASE=\"$(RELEASE)\" |