Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move datapipes variables from mce.h to datapipe.c
Duplicates were generated in to every object file that was compiled from source code that included mce.h. I guess this a) compiled because the structures are not initialized b) worked because the runtime linker resolved refs from the plugins to use variables compiled into mce main binary. Leave extern declarations to the header, but define the actual variables only once in the datapipe module. [mce] Move datapipes variables from mce.h to datapipe.c. Fixes JB#18917
- Loading branch information
Showing
2 changed files
with
199 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters