X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=blobdiff_plain;f=jail%2Felf.h;h=4ab928d80e7f1a8f62ef75e9ddaca3e72daecd7e;hp=19ceb3e08ac3e12750409228035763ac29c23de8;hb=7e5751fd776bb53884ecc211a7f5026de7db94d4;hpb=303eaecc18ca1d26af9d9105631000c8bdef11a0 diff --git a/jail/elf.h b/jail/elf.h index 19ceb3e..4ab928d 100644 --- a/jail/elf.h +++ b/jail/elf.h @@ -10,13 +10,12 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ +#ifndef _JAIL_ELF_H_ +#define _JAIL_ELF_H_ -#ifndef _ELF_H__ #include #include -#include "log.h" - struct library { struct avl_node avl; char *name; @@ -31,8 +30,8 @@ struct library_path { extern struct avl_tree libraries; void alloc_library_path(const char *path); -char* find_lib(char *file); -int elf_load_deps(char *library); +int elf_load_deps(const char *library); +const char* find_lib(const char *file); void load_ldso_conf(const char *conf); #endif