diff options
author | Tom Grace <Thomas.Grace@amdocs.com> | 2013-03-13 03:13:52 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2013-03-13 03:13:52 +0100 |
commit | 17c088fb458a1f902b449cef94c58f1806c288d3 (patch) | |
tree | fc9b2473dd168a0e71d3f57d6903c77aacb4e692 /tests | |
parent | e60bf251077b931e3e03f7630cdd745dbe5cfa7d (diff) |
tool_main.c: fix VMS global variable storage-class specifier
An extern submits a psect and a global reference to the linker to point
to it. Using "extern int vms_show = 0" also creates a globaldef.
The use of the extern by itself does declare a psect but does not declare
a globalsymbol. It does declare a globalref. But the linker needs one and
only one globaldef or there is an error.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions