daemon: Fix redundant redeclaration warning

CC     pulseaudio-dumpmodules.o
daemon/dumpmodules.c:93:27: warning: redundant redeclaration of ‘lt__PROGRAM__LTX_preloaded_symbols’ [-Wredundant-decls]
/usr/include/ltdl.h:106:36: note: previous declaration of ‘lt__PROGRAM__LTX_preloaded_symbols’ was here

the declaration is provided by ltld.h of libtool since version 2.4, require the 2.4 instead of 2.2

Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
This commit is contained in:
Peter Meerwald 2012-07-10 14:44:03 +02:00 committed by Tanu Kaskinen
parent ffe6e28ea7
commit 2219a775c4
2 changed files with 2 additions and 11 deletions

View file

@ -89,10 +89,6 @@ static void show_info(const char *name, const char *path, void (*info)(const cha
}
}
#ifndef OS_IS_WIN32
extern const lt_dlsymlist lt_preloaded_symbols[];
#endif
static int is_preloaded(const char *name) {
const lt_dlsymlist *l;