aboutsummaryrefslogtreecommitdiff
path: root/libgloss/rs6000/sim-abort.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/rs6000/sim-abort.c')
-rw-r--r--libgloss/rs6000/sim-abort.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgloss/rs6000/sim-abort.c b/libgloss/rs6000/sim-abort.c
index e1b59cf..931f886 100644
--- a/libgloss/rs6000/sim-abort.c
+++ b/libgloss/rs6000/sim-abort.c
@@ -14,6 +14,9 @@
* they apply.
*/
+extern int write(int fd, const void *buf, unsigned int count);
+extern void exit(int status);
+
void abort(void)
{
write (2, "Abort called.\n", sizeof("Abort called.\n")-1);