Lines 1-6
Link Here
|
1 |
--- src/lcllib.c.orig Wed Oct 30 17:51:13 2002 |
1 |
--- src/lcllib.c.orig 2007-07-13 22:42:49 UTC |
2 |
+++ src/lcllib.c Wed Oct 30 22:37:48 2002 |
2 |
+++ src/lcllib.c |
3 |
@@ -49,13 +49,7 @@ |
3 |
@@ -51,13 +51,7 @@ |
4 |
extern /*:open:*/ /*@dependent@*/ FILE *yyin; |
4 |
extern /*:open:*/ /*@dependent@*/ FILE *yyin; |
5 |
/*@=incondefs@*/ /*@=redecl@*/ |
5 |
/*@=incondefs@*/ /*@=redecl@*/ |
6 |
|
6 |
|
Lines 15-21
Link Here
|
15 |
{ |
15 |
{ |
16 |
"dirent", |
16 |
"dirent", |
17 |
"fcntl", |
17 |
"fcntl", |
18 |
@@ -77,7 +71,10 @@ |
18 |
@@ -79,7 +73,10 @@ static ob_mstring posixlibs[NUMPOSIXLIBS |
19 |
"utime" |
19 |
"utime" |
20 |
} ; |
20 |
} ; |
21 |
|
21 |
|
Lines 27-33
Link Here
|
27 |
{ |
27 |
{ |
28 |
"assert", |
28 |
"assert", |
29 |
"complex" |
29 |
"complex" |
30 |
@@ -85,7 +82,10 @@ |
30 |
@@ -87,7 +84,10 @@ static ob_mstring stdlibs[NUMLIBS] = |
31 |
"errno", |
31 |
"errno", |
32 |
"fenv", |
32 |
"fenv", |
33 |
"float", |
33 |
"float", |
Lines 38-50
Link Here
|
38 |
"iso646", |
38 |
"iso646", |
39 |
"limits", |
39 |
"limits", |
40 |
"locale", |
40 |
"locale", |
41 |
@@ -105,6 +105,9 @@ |
41 |
@@ -108,6 +108,9 @@ static ob_mstring stdlibs[NUMLIBS] = |
42 |
"wchar", |
|
|
43 |
"wctype" |
42 |
"wctype" |
44 |
} ; |
43 |
} ; |
45 |
+ |
44 |
|
46 |
+/*@constant int NUMLIBS; @*/ |
45 |
+/*@constant int NUMLIBS; @*/ |
47 |
+# define NUMLIBS (sizeof(stdlibs) / sizeof(stdlibs[0])) |
46 |
+# define NUMLIBS (sizeof(stdlibs) / sizeof(stdlibs[0])) |
48 |
|
47 |
+ |
49 |
static bool loadLCDFile (FILE * p_f, cstring p_name); |
48 |
static bool loadLCDFile (FILE * p_f, cstring p_name); |
50 |
|
49 |
|
|
|
50 |
bool |