sysdep.c (256281) | sysdep.c (295135) |
---|---|
1/******************************************************************* 2** s y s d e p . c 3** Forth Inspired Command Language 4** Author: John Sadler (john_sadler@alum.mit.edu) 5** Created: 16 Oct 1997 6** Implementations of FICL external interface functions... 7** 8*******************************************************************/ 9 | 1/******************************************************************* 2** s y s d e p . c 3** Forth Inspired Command Language 4** Author: John Sadler (john_sadler@alum.mit.edu) 5** Created: 16 Oct 1997 6** Implementations of FICL external interface functions... 7** 8*******************************************************************/ 9 |
10/* $FreeBSD: stable/10/sys/boot/ficl/i386/sysdep.c 51786 1999-09-29 04:43:16Z dcs $ */ | 10/* $FreeBSD: stable/10/sys/boot/ficl/i386/sysdep.c 295135 2016-02-02 03:08:37Z allanjude $ */ |
11 12#ifdef TESTMAIN 13#include <stdio.h> 14#include <stdlib.h> 15#else 16#include <stand.h> 17#ifdef __i386__ 18#include <machine/cpufunc.h> --- 34 unchanged lines hidden (view full) --- 53} 54#endif 55 56void ficlTextOut(FICL_VM *pVM, char *msg, int fNewline) 57{ 58 IGNORE(pVM); 59 60 while(*msg != 0) | 11 12#ifdef TESTMAIN 13#include <stdio.h> 14#include <stdlib.h> 15#else 16#include <stand.h> 17#ifdef __i386__ 18#include <machine/cpufunc.h> --- 34 unchanged lines hidden (view full) --- 53} 54#endif 55 56void ficlTextOut(FICL_VM *pVM, char *msg, int fNewline) 57{ 58 IGNORE(pVM); 59 60 while(*msg != 0) |
61 putchar(*(msg++)); | 61 putchar((unsigned char)*(msg++)); |
62 if (fNewline) 63 putchar('\n'); 64 65 return; 66} 67 68void *ficlMalloc (size_t size) 69{ --- 68 unchanged lines hidden --- | 62 if (fNewline) 63 putchar('\n'); 64 65 return; 66} 67 68void *ficlMalloc (size_t size) 69{ --- 68 unchanged lines hidden --- |