Page MenuHomeDevCentral

Reduce definitions of common variables

Authored by dereckson on Aug 29 2021, 12:44.



This fixes the following issue:

/usr/bin/ld: general.o:/opt/darkbot/build/./../source/prototypes.h:132:
multiple definition of `alarmed';
chan.o:/opt/darkbot/build/./../source/prototypes.h:132: first defined here

Ref T1646.

Test Plan

Compile under FreeBSD with LLVM, Cygwin and Debian with gcc

Diff Detail

rDARKBOT Darkbot
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

dereckson created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Aug 29 2021, 12:45
This revision was automatically updated to reflect the committed changes.
dereckson accepted this revision.
This revision is now accepted and ready to land.Aug 29 2021, 12:48
dereckson retitled this revision from This fixes the following issue: to Reduce definitions of common variables.Aug 29 2021, 13:06
dereckson edited the summary of this revision. (Show Details)