mirror of
https://github.com/vivier/EMILE.git
synced 2025-02-27 06:29:15 +00:00
Really change putstring() to console_putstring()
This commit is contained in:
parent
ec1075431d
commit
c19a88328c
@ -8,6 +8,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
#include "console.h"
|
||||||
|
|
||||||
int strlen(const char* s)
|
int strlen(const char* s)
|
||||||
{
|
{
|
||||||
@ -62,9 +63,9 @@ unsigned char *c2pstring(char* s)
|
|||||||
|
|
||||||
void error(char *x)
|
void error(char *x)
|
||||||
{
|
{
|
||||||
putstring("\n\n");
|
console_putstring("\n\n");
|
||||||
putstring(x);
|
console_putstring(x);
|
||||||
putstring("\n\n -- System halted\n");
|
console_putstring("\n\n -- System halted\n");
|
||||||
|
|
||||||
while(1); /* Halt */
|
while(1); /* Halt */
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user