7dc72516c18322453473dc52a2eab5de480e297a
hiram
  Mon Mar 26 10:17:05 2018 -0700
add static to lowerToN() function to avoid conflict with same named function in library noticed by Encode DCC user no redmine

diff --git src/utils/faLowerToN/faLowerToN.c src/utils/faLowerToN/faLowerToN.c
index b2737f9..a8d9676 100644
--- src/utils/faLowerToN/faLowerToN.c
+++ src/utils/faLowerToN/faLowerToN.c
@@ -1,65 +1,65 @@
 /* faLowerToN - Convert lower case bases to N.. */
 
 /* Copyright (C) 2011 The Regents of the University of California 
  * See README in this or parent directory for licensing information. */
 #include "common.h"
 #include "linefile.h"
 #include "hash.h"
 #include "options.h"
 
 
 void usage()
 /* Explain usage and exit. */
 {
 errAbort(
   "faLowerToN - Convert lower case bases to N.\n"
   "usage:\n"
   "   faLowerToN input.fa output.fa\n"
   "options:\n"
   "   -xxx=XXX\n"
   );
 }
 
 static struct optionSpec options[] = {
    {NULL, 0},
 };
 
-void lowerToN(char *s)
+static void lowerToN(char *s)
 /* Convert lower case letters to N's. */
 {
 char c;
 for (;;)
     {
     c = *s;
     if (islower(c))
         *s = 'N';
     else if (c == 0)
         break;
     ++s;
     }
 }
 
 void faLowerToN(char *inName, char *outName)
 /* faLowerToN - Convert lower case bases to N.. */
 {
 struct lineFile *lf = lineFileOpen(inName, TRUE);
 FILE *f = mustOpen(outName, "w");
 char *line;
 while (lineFileNext(lf, &line, NULL))
     {
     if (line[0] != '>')
        lowerToN(line);
     fprintf(f, "%s\n", line);
     }
 carefulClose(&f);
 }
 
 int main(int argc, char *argv[])
 /* Process command line. */
 {
 optionInit(&argc, argv, options);
 if (argc != 3)
     usage();
 faLowerToN(argv[1], argv[2]);
 return 0;
 }