diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-08-30 00:02:19 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-08-30 00:02:19 +0000 |
commit | f90b720ba1b70759feea3b3a130a6f8b01709d68 (patch) | |
tree | d1fc6c8386824a06ccb4d5d9042110ede99b0f6a /sim/common/callback.c | |
parent | 4113ba4cd75baf802d84cb32f5d500082673ef41 (diff) | |
download | gdb-f90b720ba1b70759feea3b3a130a6f8b01709d68.zip gdb-f90b720ba1b70759feea3b3a130a6f8b01709d68.tar.gz gdb-f90b720ba1b70759feea3b3a130a6f8b01709d68.tar.bz2 |
Passify GCC. Convert 0x0LL to something more portable in the FP code.
Diffstat (limited to 'sim/common/callback.c')
-rw-r--r-- | sim/common/callback.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 <unistd.h> #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 (); |