diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-06-19 19:54:40 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-06-19 19:54:40 +0000 |
commit | 13e8b9d8f4c2919bbb347d1975559e224b107ecc (patch) | |
tree | a271e9663cce46165fd1aec417adc0f0d5702859 /ldso/include/dl-string.h | |
parent | 2a3300265454e5109dd93ae3d288d4ad1612c251 (diff) |
Bradley D. LaRonde writes:
dl-string.h references do_rem, but do_rem is a #define in <arch>/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.
Diffstat (limited to 'ldso/include/dl-string.h')
-rw-r--r-- | ldso/include/dl-string.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <dl-sysdep.h> // 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); |