diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-11-28 14:58:01 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-11-30 09:53:36 +0100 |
commit | 13590ca98ac2fd4939b683adbfdd63392b559f3f (patch) | |
tree | 37a267d3ac4ca067fea1d2a1789c1a055ed7b707 /preload.h | |
parent | 890ac34c460fbb753bd4303b201d11aebd27a570 (diff) | |
download | unitd-13590ca98ac2fd4939b683adbfdd63392b559f3f.tar unitd-13590ca98ac2fd4939b683adbfdd63392b559f3f.zip |
Strip down procd to the necessary code, update copyright
Diffstat (limited to 'preload.h')
-rw-r--r-- | preload.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/preload.h b/preload.h deleted file mode 100644 index 5e663ac..0000000 --- a/preload.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright (C) 2015 John Crispin <blogic@openwrt.org> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 2.1 - * as published by the Free Software Foundation - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ - -#include <link.h> - -#ifndef __unbounded -#define __unbounded -#endif - -#ifndef attribute_unused -#define attribute_unused __attribute__ ((unused)) -#endif -typedef int (*main_t)(int, char **, char **); - -typedef int (*start_main_t)(main_t main, int, char *__unbounded *__unbounded, - ElfW(auxv_t) *, - __typeof (main), - void (*fini) (void), - void (*rtld_fini) (void), - void *__unbounded stack_end); - -int __libc_start_main(main_t main, - int argc, - char **argv, - ElfW(auxv_t) *auxvec, - __typeof (main) init, - void (*fini) (void), - void (*rtld_fini) (void), - void *stack_end); - - -typedef void (*uClibc_main)(main_t main, - int argc, - char **argv, - void (*app_init)(void), - void (*app_fini)(void), - void (*rtld_fini)(void), - void *stack_end attribute_unused); - -void __uClibc_main(main_t main, - int argc, - char **argv, - void (*app_init)(void), - void (*app_fini)(void), - void (*rtld_fini)(void), - void *stack_end attribute_unused); |