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/hgc/hgc.h src/hg/hgc/hgc.h index c70e58c..6b1c930 100644 --- src/hg/hgc/hgc.h +++ src/hg/hgc/hgc.h @@ -418,31 +418,31 @@ void doHgdpGeo(struct trackDb *tdb, char *item); /* Show details page for HGDP SNP with population allele frequencies * plotted on a world map. */ void hgdpGeoImg(struct hgdpGeo *geo); /* Generate image as PNG, PDF, EPS: world map with pie charts for population allele frequencies. */ char *hgdpPngFilePath(char *rsId); /* Return the stable PNG trash-cached image path for rsId. */ void hgdpGeoFreqTable(struct hgdpGeo *geo); /* Print an HTML table of populations and allele frequencies. */ void printOtherSnpMappings(char *table, char *name, int start, - struct sqlConnection *conn, int rowOffset); + struct sqlConnection *conn, int rowOffset, struct trackDb *tdb); /* If this SNP (from any bed4+ table) is not uniquely mapped, print the other mappings. */ void printCustomUrl(struct trackDb *tdb, char *itemName, boolean encode); /* Wrapper to call printCustomUrlWithLabel using the url setting in trackDb */ void printCustomUrlWithFields(struct trackDb *tdb, char *itemName, char *itemLabel, boolean encode, struct slPair *fields); /* Wrapper to call printCustomUrlWithLabel with additional fields to substitute */ void printOtherCustomUrl(struct trackDb *tdb, char *itemName, char* urlSetting, boolean encode); /* Wrapper to call printCustomUrlWithLabel to use another url setting other than url in trackDb e.g. url2, this allows the use of multiple urls for a track * to be set in trackDb. */ void printIdOrLinks(struct asColumn *col, struct hash *fieldToUrl, struct trackDb *tdb, char *idList); /* if trackDb does not contain a "urls" entry for current column name, just print idList as it is. * * Otherwise treat idList as a comma-sep list of IDs and print one row per id, with a link to url, @@ -561,16 +561,19 @@ #define NUCCORE_SEARCH "https://www.ncbi.nlm.nih.gov/sites/entrez?db=nuccore&cmd=search&term=" void doJRepeat (struct trackDb *tdb, char *repeat); void doBigRmskRepeat (struct trackDb *tdb, char *repeat); /* New RepeatMasker Visualization defined in joinedRmskClick.c */ INLINE char* strOrNbsp(char* val) /* return val if not empty otherwise HTML entity */ { return isEmpty(val) ? " " : val; } void doInteractDetails(struct trackDb *tdb, char *item); /* Details of interaction item */ +void doParDetails(struct trackDb *tdb, char *name); +/* show details of a PAR item. */ + #endif