Initial public busybox upstream commit
[busybox4maemo] / shell / ash_ptr_hack.c
1 /* vi: set sw=4 ts=4: */
2 /*
3  * Copyright (C) 2008 by Denys Vlasenko <vda.linux@googlemail.com>
4  *
5  * Licensed under GPLv2, see file LICENSE in this tarball for details.
6  */
7
8 /* We cheat here. They are declared as const ptr in ash.c,
9  * but here we make them live in R/W memory */
10 struct globals_misc;
11 struct globals_memstack;
12 struct globals_var;
13
14 struct globals_misc     *ash_ptr_to_globals_misc;
15 struct globals_memstack *ash_ptr_to_globals_memstack;
16 struct globals_var      *ash_ptr_to_globals_var;