Mercurial > hg > xemacs-beta
comparison lib-src/mmencode.c @ 424:11054d720c21 r21-2-20
Import from CVS: tag r21-2-20
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:26:11 +0200 |
parents | 697ef44129c6 |
children |
comparison
equal
deleted
inserted
replaced
423:28d9c139be4c | 424:11054d720c21 |
---|---|
50 | 50 |
51 /* the following gets a character, but fakes it properly into two chars if there's a newline character */ | 51 /* the following gets a character, but fakes it properly into two chars if there's a newline character */ |
52 static int InNewline=0; | 52 static int InNewline=0; |
53 | 53 |
54 static int | 54 static int |
55 nextcharin(infile, PortableNewlines) | 55 nextcharin (FILE *infile, int PortableNewlines) |
56 FILE *infile; | |
57 int PortableNewlines; | |
58 { | 56 { |
59 int c; | 57 int c; |
60 | 58 |
61 #ifndef NEWLINE_CHAR | 59 #ifndef NEWLINE_CHAR |
62 return(getc(infile)); | 60 return(getc(infile)); |