/* $OpenBSD: ld.h,v 1.6 2002/05/24 03:44:37 deraadt Exp $ */ /* * Header file to make code compatible with ELF version * ldconfig was taken from the a.out ld. */ #include extern int n_search_dirs; extern char **search_dirs; char *xstrdup(const char *); void *xmalloc(size_t); void *xrealloc(void *, size_t); char *concat(const char *, const char *, const char *); void add_search_dir(char *name); void std_search_path(void); void add_search_path(char *path); void remove_search_dir(char *name); int getdewey(int dewey[], char *cp); int cmpndewey(int d1[], int n1, int d2[], int n2); #define PAGSIZ __LDPGSZ