Browse Source

Replace getc() by fgetc()

The getc() can be a macros on some systems. And this macros
can by rather ugly.
Serj Kalichev 11 years ago
parent
commit
e4083acec0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tinyrl/vt100/vt100.c

+ 1 - 1
tinyrl/vt100/vt100.c

@@ -70,7 +70,7 @@ tinyrl_vt100_escape_t tinyrl_vt100_escape_decode(const tinyrl_vt100_t * this)
 	 * with a character between 64 - 126
 	 */
 	while (1) {
-		c = getc(this->istream);
+		c = fgetc(this->istream);
 
 		/* ignore no-character condition */
 		if (-1 != c) {