28d4a684ffc43e43d83ab1ca6e0d684afb8d7315 hiram Thu Apr 19 14:28:11 2012 -0700 fixup compile errors with modern environment diff --git src/utils/cpgIslandExt/readseq.c src/utils/cpgIslandExt/readseq.c index 67eb85a..29fdf75 100644 --- src/utils/cpgIslandExt/readseq.c +++ src/utils/cpgIslandExt/readseq.c @@ -6,30 +6,32 @@ >header line conv[x] is the internal code for char 'x' conv[x] == -1 means ignore. conv[x] < -1 means error. will work on fil == stdin * Exported functions: readSequence * HISTORY: * Last edited: Apr 26 14:44 1994 (rd) * * Dec 29 23:35 1993 (rd): now works off FILE*, returns id and desc * Created: Tue Jan 19 21:14:35 1993 (rd) *------------------------------------------------------------------- */ #include "stdio.h" #include "stdlib.h" #include "ctype.h" +#include +#include static char *messalloc (int n) { char *result ; if (!(result = (char*) malloc (n))) { fprintf (stderr, "MALLOC failure reqesting %d bytes - aborting\n", n) ; exit (-1) ; } return result ; } #define messfree(x) free(x) static void add (char c, char* *buf, int *buflen, int n)