Alexandre Lision | 7fd5d3d | 2013-12-04 13:06:40 -0500 | [diff] [blame] | 1 | /* |
| 2 | * We want the copyright string to be accessable to the unix strings command |
| 3 | * in the final linked binary, and we don't want the linker to remove it if |
| 4 | * it's not referenced, so we do that by using the volatile qualifier. |
| 5 | * |
| 6 | * ANSI C standard, section 3.5.3: "An object that has volatile-qualified |
| 7 | * type may be modified in ways unknown to the implementation or have |
| 8 | * other unknown side effects." Yes, we can't expect a compiler to |
| 9 | * understand law... |
| 10 | */ |
| 11 | extern volatile const char bnCopyright[]; |