Mercurial > projects > ldc
annotate lphobos/std/c/linux/linuxextern.d @ 650:aa6a0b7968f7
Added test case for bug #100
Removed dubious check for not emitting static private global in other modules without access. This should be handled properly somewhere else, it's causing unresolved global errors for stuff that should work (in MiniD)
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sun, 05 Oct 2008 17:28:15 +0200 |
parents | 058d3925950e |
children |
rev | line source |
---|---|
1 | 1 |
2 /* Written by Walter Bright. | |
3 * www.digitalmars.com | |
4 * Placed into public domain. | |
5 * Linux(R) is the registered trademark of Linus Torvalds in the U.S. and other | |
6 * countries. | |
7 */ | |
8 | |
9 /* These are all the globals defined by the linux C runtime library. | |
10 * Put them separate so they'll be externed - do not link in linuxextern.o | |
11 */ | |
12 | |
13 module std.c.linux.linuxextern; | |
14 | |
88
058d3925950e
[svn r92] Fixed support for statically initialized unions. lots of bugfixes as cleanups too.
lindquist
parents:
1
diff
changeset
|
15 extern extern (C) |
1 | 16 { |
17 void* __libc_stack_end; | |
18 int __data_start; | |
19 int _end; | |
20 int timezone; | |
21 | |
22 void *_deh_beg; | |
23 void *_deh_end; | |
24 } | |
25 |