comparison lib-src/mmencode.c @ 363:972bbb6d6ca2 r21-1-11

Import from CVS: tag r21-1-11
author cvs
date Mon, 13 Aug 2007 10:59:28 +0200
parents 4711e16a8e49
children cc15677e0335
comparison
equal deleted inserted replaced
362:1e474c183006 363:972bbb6d6ca2
51 51
52 /* the following gets a character, but fakes it properly into two chars if there's a newline character */ 52 /* the following gets a character, but fakes it properly into two chars if there's a newline character */
53 static int InNewline=0; 53 static int InNewline=0;
54 54
55 static int 55 static int
56 nextcharin(infile, PortableNewlines) 56 nextcharin (FILE *infile, int PortableNewlines)
57 FILE *infile;
58 int PortableNewlines;
59 { 57 {
60 int c; 58 int c;
61 59
62 #ifndef NEWLINE_CHAR 60 #ifndef NEWLINE_CHAR
63 return(getc(infile)); 61 return(getc(infile));