cd0d3f081ff261f36b65ec1016d859ce3d50cb14 chmalee Mon Apr 19 14:29:28 2021 -0700 Add -fno-common to library makefiles to fix common extern variable definition errors diff --git src/hg/hgTracks/rnaPLFoldTrack.c src/hg/hgTracks/rnaPLFoldTrack.c index 0aa8042..2bc57cd 100644 --- src/hg/hgTracks/rnaPLFoldTrack.c +++ src/hg/hgTracks/rnaPLFoldTrack.c @@ -5,31 +5,30 @@ #include "jksql.h" #include "hgTracks.h" #include "rnaPLFoldTrack.h" /* ------ BEGIN RNAplfold ------ */ /*******************************************************************/ #define RNAPLFOLD_DATA_SHADES 10 /* Declare our color gradients and the the number of colors in them */ Color plShadesPos[RNAPLFOLD_DATA_SHADES * 3]; Color plOutlineColor; Color plHighDprimeLowLod; /* blue */ -int colorLookup[256]; double basePairSpan=0; int maxBasePairSpan=5000; boolean rnaPLFoldInv=FALSE; // default is inverted = sequence on buttom double scaleHeight=0; void plShadesInit(struct track *tg, struct hvGfx *hvg, boolean isDprime) /* Allocate the LD for positive and negative values, and error cases */ { static struct rgbColor white = {255, 255, 255}; static struct rgbColor red = {255, 0, 0}; static struct rgbColor green = {0 , 255, 0}; static struct rgbColor blue = { 0, 0, 255}; plOutlineColor = hvGfxFindColorIx(hvg, 0, 0, 0); /* black */ plHighDprimeLowLod = hvGfxFindColorIx(hvg, 192, 192, 240); /* blue */