freebsd-skq/libexec/rtld-elf/libmap.h
Matthew N. Dodd 4402996dea Change libmap.c:lm_init() to return a status value; 0 for success
(libmap available) and 1 for failure.  Assign this return to the
global 'libmap_disable' variable in rtld.c.

This totally prevents any libmap functions from being called after
lm_init() if no config file is present.
2003-09-13 21:43:08 +00:00

8 lines
107 B
C

/*
* $FreeBSD$
*/
int lm_init (void);
void lm_fini (void);
char * lm_find (const char *, const char *);