Fossil SCM
Added an "extern" to work around a duplicate-definition linking error with the tcc compiler.
Commit
ba86c859dff83e89640091ea18dec5571630af2a
Parent
512def0fc8f996c…
1 file changed
+1
-1
+1
-1
| --- src/json_detail.h | ||
| +++ src/json_detail.h | ||
| @@ -199,11 +199,11 @@ | ||
| 199 | 199 | char const * requestId; |
| 200 | 200 | char const * resultCode; |
| 201 | 201 | char const * resultText; |
| 202 | 202 | char const * timestamp; |
| 203 | 203 | } FossilJsonKeys_; |
| 204 | -const FossilJsonKeys_ FossilJsonKeys; | |
| 204 | +extern const FossilJsonKeys_ FossilJsonKeys; | |
| 205 | 205 | |
| 206 | 206 | /* |
| 207 | 207 | ** A page/command dispatch helper for fossil_json_f() implementations. |
| 208 | 208 | ** pages must be an array of JsonPageDef commands which we can |
| 209 | 209 | ** dispatch. The final item in the array MUST have a NULL name |
| 210 | 210 |
| --- src/json_detail.h | |
| +++ src/json_detail.h | |
| @@ -199,11 +199,11 @@ | |
| 199 | char const * requestId; |
| 200 | char const * resultCode; |
| 201 | char const * resultText; |
| 202 | char const * timestamp; |
| 203 | } FossilJsonKeys_; |
| 204 | const FossilJsonKeys_ FossilJsonKeys; |
| 205 | |
| 206 | /* |
| 207 | ** A page/command dispatch helper for fossil_json_f() implementations. |
| 208 | ** pages must be an array of JsonPageDef commands which we can |
| 209 | ** dispatch. The final item in the array MUST have a NULL name |
| 210 |
| --- src/json_detail.h | |
| +++ src/json_detail.h | |
| @@ -199,11 +199,11 @@ | |
| 199 | char const * requestId; |
| 200 | char const * resultCode; |
| 201 | char const * resultText; |
| 202 | char const * timestamp; |
| 203 | } FossilJsonKeys_; |
| 204 | extern const FossilJsonKeys_ FossilJsonKeys; |
| 205 | |
| 206 | /* |
| 207 | ** A page/command dispatch helper for fossil_json_f() implementations. |
| 208 | ** pages must be an array of JsonPageDef commands which we can |
| 209 | ** dispatch. The final item in the array MUST have a NULL name |
| 210 |