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/lib/loweutils.c src/hg/lib/loweutils.c
index b96084a..e9bc815 100644
--- src/hg/lib/loweutils.c
+++ src/hg/lib/loweutils.c
@@ -34,31 +34,31 @@
                 outString[arrayCount++] = out;
                 start = charCount + 1;
             }
         }
     }
     if (arrayCount < outSize)
     {
         out = malloc(sizeof(char) * (charCount - start + 1));
         memcpy(out, inString + start, sizeof(char) * (charCount - start));
         out[charCount - start] = '\0';
         outString[arrayCount++] = out;
     }
 
     return arrayCount;
 }
-struct minGeneInfo* getGbProtCodeInfo(struct sqlConnection *conn, char* dbName, char *geneName)
+struct minGeneInfo* getGbProtCodeInfo(struct sqlConnection *conn, char *database, char* dbName, char *geneName)
 {
     char query[512];
     struct sqlResult *sr = NULL;
     char **row;
     struct minGeneInfo* ginfo = NULL;
     char gbProtCodeXra[50];
 
     if (strcmp(database, dbName) == 0)
         strcpy(gbProtCodeXra, "gbProtCodeXra");
     else
     {
         strcpy(gbProtCodeXra, dbName);
         strcat(gbProtCodeXra, ".gbProtCodeXra");
     }
     if (hTableExists(dbName, "gbProtCodeXra"))