mirror of
https://github.com/KarolS/millfork.git
synced 2024-12-25 06:29:17 +00:00
Remove temporary hacks
This commit is contained in:
parent
98553d56c0
commit
154df77ad3
@ -180,16 +180,12 @@ void __translate_st_to_errno() {
|
|||||||
byte getbyte_safe() {
|
byte getbyte_safe() {
|
||||||
byte b
|
byte b
|
||||||
b = getchar()
|
b = getchar()
|
||||||
garbage[garbage_index] = b
|
|
||||||
garbage_index += 1
|
|
||||||
__translate_st_to_errno()
|
__translate_st_to_errno()
|
||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
void putbyte_safe(byte b) {
|
void putbyte_safe(byte b) {
|
||||||
putchar(b)
|
putchar(b)
|
||||||
garbage[garbage_index] = b
|
|
||||||
garbage_index += 1
|
|
||||||
__translate_st_to_errno()
|
__translate_st_to_errno()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user