ac1d8e453d5748fa99de58835e4d46e9c1ea945a hiram Tue Jun 28 09:16:00 2011 -0700 move some defines into one central location in hgTracks.h diff --git src/hg/hgTracks/encode.c src/hg/hgTracks/encode.c index f01e413..8ee9823 100644 --- src/hg/hgTracks/encode.c +++ src/hg/hgTracks/encode.c @@ -2,32 +2,30 @@ #include "common.h" #include "hCommon.h" #include "hdb.h" #include "hui.h" #include "hgTracks.h" #include "customTrack.h" #include "encode.h" #include "encode/encodeRna.h" #include "encode/encodePeak.h" extern struct trackLayout tl; static char const rcsid[] = "$Id: encode.c,v 1.24 2010/05/11 01:43:27 kent Exp $"; -#define SMALLBUF 128 - char *encodeErgeName(struct track *tg, void *item) /* return the actual data name, in form xx/yyyy cut off xx/ return yyyy */ { char *name; struct linkedFeatures *lf = item; name = strstr(lf->name, "/"); if (name != NULL) name ++; if (name != NULL) return name; return "unknown"; } void encodeErgeMethods(struct track *tg) /* setup special methods for ENCODE dbERGE II tracks */