6512e21480ecf797527b2b093da97e3e643d1729
larrym
  Thu Apr 7 16:40:26 2011 -0700
make connGeneSuggestTable public so I can use it in hgSuggest.c
diff --git src/hg/lib/suggest.c src/hg/lib/suggest.c
index e7d2f04..51b4109 100644
--- src/hg/lib/suggest.c
+++ src/hg/lib/suggest.c
@@ -1,22 +1,22 @@
 /* code to support suggesting genes given a prefix typed by the user. */
 
 #include "suggest.h"
 
 static char const rcsid[] = "$Id: suggest.c,v 1.3 2010/02/06 03:21:00 larrym Exp $";
 
-static char *connGeneSuggestTable(struct sqlConnection *conn)
+char *connGeneSuggestTable(struct sqlConnection *conn)
 // return name of gene suggest table if this connection has tables to support gene autocompletion, NULL otherwise
 {
 if(sqlTableExists(conn, "knownCanonical"))
     return "knownCanonical";
 else if(sqlTableExists(conn, "refGene"))
     return "refGene";
 else
     return NULL;
 }
 
 boolean assemblySupportsGeneSuggest(char *database)
 // return true if this assembly has tables to support gene autocompletion
 {
 struct sqlConnection *conn = hAllocConn(database);
 char *table = connGeneSuggestTable(conn);