diff lib/lib.h @ 124:ef2bc92d5fb0

Work around uClibc weirdness.
author Rob Landley <rob@landley.net>
date Thu, 07 Jun 2007 15:19:44 -0400
parents 19b5567f0a1b
children 0a90a5fbc1bf
line wrap: on
line diff
--- a/lib/lib.h	Thu Jun 07 15:19:00 2007 -0400
+++ b/lib/lib.h	Thu Jun 07 15:19:44 2007 -0400
@@ -31,13 +31,16 @@
 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);