diff options
Diffstat (limited to 'libgloss/rs6000')
-rw-r--r-- | libgloss/rs6000/mbx-print.c | 2 | ||||
-rw-r--r-- | libgloss/rs6000/mvme-print.c | 3 | ||||
-rw-r--r-- | libgloss/rs6000/mvme-read.c | 2 | ||||
-rw-r--r-- | libgloss/rs6000/sim-abort.c | 3 | ||||
-rw-r--r-- | libgloss/rs6000/sim-inbyte.c | 1 | ||||
-rw-r--r-- | libgloss/rs6000/sim-print.c | 2 | ||||
-rw-r--r-- | libgloss/rs6000/sim-sbrk.c | 1 |
7 files changed, 13 insertions, 1 deletions
diff --git a/libgloss/rs6000/mbx-print.c b/libgloss/rs6000/mbx-print.c index 64472ee..591ca2d 100644 --- a/libgloss/rs6000/mbx-print.c +++ b/libgloss/rs6000/mbx-print.c @@ -13,6 +13,8 @@ * they apply. */ +extern int write(int fd, const void *buf, unsigned int count); + /* * print -- do a raw print of a string */ diff --git a/libgloss/rs6000/mvme-print.c b/libgloss/rs6000/mvme-print.c index 8d19542..d8f4c50 100644 --- a/libgloss/rs6000/mvme-print.c +++ b/libgloss/rs6000/mvme-print.c @@ -12,6 +12,9 @@ * the new terms are clearly indicated on the first page of each file where * they apply. */ +extern void __pcrlf(void); +extern void __outln(char *, char *); +extern void __outstr(char *, char *); /* * write -- write some bytes to the output device. diff --git a/libgloss/rs6000/mvme-read.c b/libgloss/rs6000/mvme-read.c index 1c823b4..9d1e7d3 100644 --- a/libgloss/rs6000/mvme-read.c +++ b/libgloss/rs6000/mvme-read.c @@ -14,7 +14,7 @@ */ extern int inbyte (); -extern char * __inln (); +extern char * __inln (char *); /* * read -- read bytes from the serial port. Ignore fd, since 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); diff --git a/libgloss/rs6000/sim-inbyte.c b/libgloss/rs6000/sim-inbyte.c index 787b689..fe1ac2a 100644 --- a/libgloss/rs6000/sim-inbyte.c +++ b/libgloss/rs6000/sim-inbyte.c @@ -13,6 +13,7 @@ * the new terms are clearly indicated on the first page of each file where * they apply. */ +extern int read(int fd, void *buf, unsigned int count); int inbyte () diff --git a/libgloss/rs6000/sim-print.c b/libgloss/rs6000/sim-print.c index c0b9adc..49596af 100644 --- a/libgloss/rs6000/sim-print.c +++ b/libgloss/rs6000/sim-print.c @@ -13,6 +13,8 @@ * they apply. */ +extern int write(int fd, const void *buf, unsigned int count); + /* * print -- do a raw print of a string */ diff --git a/libgloss/rs6000/sim-sbrk.c b/libgloss/rs6000/sim-sbrk.c index 5c8bd65..0bbfe33 100644 --- a/libgloss/rs6000/sim-sbrk.c +++ b/libgloss/rs6000/sim-sbrk.c @@ -13,6 +13,7 @@ * the new terms are clearly indicated on the first page of each file where * they apply. */ +extern int brk(void *addr); extern char _end[]; static char *curbrk = _end; |