mescc: Mes C Library: Prepare for M2-Planet: fdungetc.
* lib/mes/fdungetc.c: Rewrite C-constructs not supported by M2-Planet.
This commit is contained in:
parent
04061cbba5
commit
fac29c0e7b
|
@ -19,7 +19,6 @@
|
|||
*/
|
||||
|
||||
#include <mes/lib.h>
|
||||
#include <assert.h>
|
||||
|
||||
int
|
||||
fdungetc (int c, int fd)
|
||||
|
@ -31,7 +30,7 @@ fdungetc (int c, int fd)
|
|||
eputs (" ***MES C LIB*** fdungetc ungetc buffer overflow fd=");
|
||||
eputs (itoa (fd));
|
||||
eputs ("\n");
|
||||
assert (0);
|
||||
assert_msg (0, "0");
|
||||
}
|
||||
__ungetc_set (fd, c);
|
||||
return c;
|
||||
|
|
Loading…
Reference in a new issue