# HG changeset patch # User reynaldo # Date 1151729754 0 # Node ID 391faf2c1474e1a5885be07deaa765d7c9f5ce5d # Parent 682a16136d6c23004168b757b1125860e39d76eb this unrelated and erroneus change was applied on my previous commit, reverted diff -r 682a16136d6c -r 391faf2c1474 subreader.c --- a/subreader.c Sat Jul 01 03:56:13 2006 +0000 +++ b/subreader.c Sat Jul 01 04:55:54 2006 +0000 @@ -25,7 +25,6 @@ #endif #define ERR ((void *) -1) -#define eol(x) ((x)=='\r' || (x)=='\n' || (x)=='\0') #ifdef USE_ICONV #include @@ -68,6 +67,10 @@ unsigned long previous_sub_end; #endif +static int eol(char p) { + return (p=='\r' || p=='\n' || p=='\0'); +} + /* Remove leading and trailing space */ static void trail_space(char *s) { int i = 0;