diff options
author | Rob Landley <rob@landley.net> | 2007-06-07 15:19:44 -0400 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-06-07 15:19:44 -0400 |
commit | 18d43ffd39dffec81f8ece68447692d6e2e4672a (patch) | |
tree | d84e2a81252374f48cfd3884416a5d94ec674fe3 /lib/lib.h | |
parent | 171af61b28c5ae5b3e073efbf7c4f87ce1d0fb20 (diff) | |
download | toybox-18d43ffd39dffec81f8ece68447692d6e2e4672a.tar.gz |
Work around uClibc weirdness.
Diffstat (limited to 'lib/lib.h')
-rw-r--r-- | lib/lib.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -31,13 +31,16 @@ struct dirtree { void get_optflags(void); // functions.c +#ifndef __UCLIBC__ +void strlcpy(char *dest, char *src, size_t size); +#endif + void verror_msg(char *msg, int err, va_list va); void error_msg(char *msg, ...); void perror_msg(char *msg, ...); void error_exit(char *msg, ...); void perror_exit(char *msg, ...); void usage_exit(void); -void strlcpy(char *dest, char *src, size_t size); void *xmalloc(size_t size); void *xzalloc(size_t size); void *xrealloc(void *ptr, size_t size); |