From f90b720ba1b70759feea3b3a130a6f8b01709d68 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 30 Aug 1997 00:02:19 +0000 Subject: Passify GCC. Convert 0x0LL to something more portable in the FP code. --- sim/common/callback.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sim/common/callback.c') diff --git a/sim/common/callback.c b/sim/common/callback.c index 3b958c3..0cd5cae 100644 --- a/sim/common/callback.c +++ b/sim/common/callback.c @@ -44,6 +44,12 @@ #include #endif +/* ??? sim_cb_printf should be cb_printf, but until the callback support is + broken out of the simulator directory, these are here to not require + sim-utils.h. */ +void sim_cb_printf PARAMS ((host_callback *, const char *, ...)); +void sim_cb_eprintf PARAMS ((host_callback *, const char *, ...)); + extern int system PARAMS ((const char *)); static int os_init PARAMS ((host_callback *)); @@ -133,6 +139,8 @@ os_poll_quit (p) host_callback *p; { #ifndef _MSC_VER + int kbhit (); + int getkey (); if (kbhit ()) { int k = getkey (); -- cgit v1.1