Last change
on this file since 3783 was 307, checked in by bird, 22 years ago |
Fixing, confirmed on linux.
|
-
Property cvs2svn:cvs-rev
set to
1.2
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
253 bytes
|
Line | |
---|
1 | /* weak external symbol with resolvable default. */
|
---|
2 | int bar5 = 5;
|
---|
3 |
|
---|
4 | extern int foo(void);
|
---|
5 | #ifndef __EMX__ /* we don't support defaults */
|
---|
6 | #pragma weak foo = foodefault
|
---|
7 |
|
---|
8 | int foodefault(void)
|
---|
9 | {
|
---|
10 | return 11;
|
---|
11 | }
|
---|
12 | #endif
|
---|
13 |
|
---|
14 | int foo5(void)
|
---|
15 | {
|
---|
16 | return foo();
|
---|
17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.