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 @@ -12,31 +12,31 @@ /* 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)