From b6aae0f38194cd39960a898606ee65d4be93a895 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 29 Jan 2007 22:51:25 +0000 Subject: preparatory patch for -Wwrite-strings #2 --- include/libbb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index 6f195cf46..99a9422f0 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -248,6 +248,8 @@ extern void bb_copyfd_exact_size(int fd1, int fd2, off_t size); /* this helper yells "short read!" if param is not -1 */ extern void complain_copyfd_and_die(off_t sz) ATTRIBUTE_NORETURN; extern char bb_process_escape_sequence(const char **ptr); +/* TODO: sometimes modifies its parameter, which + * makes it rather inconvenient at times: */ extern char *bb_get_last_path_component(char *path); extern int ndelay_on(int fd); extern int ndelay_off(int fd); -- cgit v1.2.3