src/hg/hgGenome/custom.c 1.4
1.4 2009/04/10 20:02:13 tdreszer
Replaced lookupCt with macro to ctFind() common subroutine
Index: src/hg/hgGenome/custom.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgGenome/custom.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -B -U 4 -r1.3 -r1.4
--- src/hg/hgGenome/custom.c 3 Sep 2008 19:18:54 -0000 1.3
+++ src/hg/hgGenome/custom.c 10 Apr 2009 20:02:13 -0000 1.4
@@ -34,22 +34,8 @@
{
theCtList = NULL;
}
-
-struct customTrack *lookupCt(char *name)
-/* Find named custom track. */
-{
-struct customTrack *ctList = getCustomTracks();
-struct customTrack *ct;
-for (ct=ctList; ct != NULL; ct=ct->next)
- {
- if (sameString(ct->tdb->tableName, name))
- return ct;
- }
-return NULL;
-}
-
struct customTrack *newCt(char *ctName, char *ctDesc, int visNum, char *ctUrl,
int fields)
/* Make a new custom track record for the query results. */
{