From 13e8b9d8f4c2919bbb347d1975559e224b107ecc Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 19 Jun 2004 19:54:40 +0000 Subject: Bradley D. LaRonde writes: dl-string.h references do_rem, but do_rem is a #define in /dl-sysdep.h which is not included by dl-sysdep.h. This causes a problem in libdl: In file included from ../../ldso/include/ldso.h:27, from libdl.c:33: ../../ldso/include/dl-string.h: In function `_dl_simple_ltoa': ../../ldso/include/dl-string.h:216: warning: implicit declaration of function `do_rem' Include dl-sysdep.h in dl-string.h before using do_rem. --- ldso/include/dl-string.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ldso/include/dl-string.h b/ldso/include/dl-string.h index 05f8d7d32..648b59546 100644 --- a/ldso/include/dl-string.h +++ b/ldso/include/dl-string.h @@ -1,6 +1,8 @@ #ifndef _LINUX_STRING_H_ #define _LINUX_STRING_H_ +#include // for do_rem + static size_t _dl_strlen(const char * str); static char *_dl_strcat(char *dst, const char *src); static char * _dl_strcpy(char * dst,const char *src); -- cgit v1.2.3