Fossil SCM
Changes to makeheaders so that it does not move static inline procedures into header files. Changed suggested by Yoran Heling. This has zero impact on Fossil which does not use "inline" anywhere.
Commit
99532f33af895815de5366021789d5be4ce54734
Parent
4fe9a37e9016802…
1 file changed
+3
-1
+3
-1
| --- src/makeheaders.c | ||
| +++ src/makeheaders.c | ||
| @@ -2344,11 +2344,13 @@ | ||
| 2344 | 2344 | pStart = pList; |
| 2345 | 2345 | } |
| 2346 | 2346 | break; |
| 2347 | 2347 | |
| 2348 | 2348 | case 'i': |
| 2349 | - if( pList->nText==6 && strncmp(pList->zText,"inline",6)==0 ){ | |
| 2349 | + if( pList->nText==6 && strncmp(pList->zText,"inline",6)==0 | |
| 2350 | + && (flags & PS_Static)==0 | |
| 2351 | + ){ | |
| 2350 | 2352 | nErr += ProcessInlineProc(pList,flags,&resetFlag); |
| 2351 | 2353 | } |
| 2352 | 2354 | break; |
| 2353 | 2355 | |
| 2354 | 2356 | case 'L': |
| 2355 | 2357 |
| --- src/makeheaders.c | |
| +++ src/makeheaders.c | |
| @@ -2344,11 +2344,13 @@ | |
| 2344 | pStart = pList; |
| 2345 | } |
| 2346 | break; |
| 2347 | |
| 2348 | case 'i': |
| 2349 | if( pList->nText==6 && strncmp(pList->zText,"inline",6)==0 ){ |
| 2350 | nErr += ProcessInlineProc(pList,flags,&resetFlag); |
| 2351 | } |
| 2352 | break; |
| 2353 | |
| 2354 | case 'L': |
| 2355 |
| --- src/makeheaders.c | |
| +++ src/makeheaders.c | |
| @@ -2344,11 +2344,13 @@ | |
| 2344 | pStart = pList; |
| 2345 | } |
| 2346 | break; |
| 2347 | |
| 2348 | case 'i': |
| 2349 | if( pList->nText==6 && strncmp(pList->zText,"inline",6)==0 |
| 2350 | && (flags & PS_Static)==0 |
| 2351 | ){ |
| 2352 | nErr += ProcessInlineProc(pList,flags,&resetFlag); |
| 2353 | } |
| 2354 | break; |
| 2355 | |
| 2356 | case 'L': |
| 2357 |