4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-21 00:07:36 +08:00

Fix mcore libgloss port for c99/gcc-14

Missing headers and prototypes, much like other ports.
This commit is contained in:
Jeff Law 2023-12-22 21:17:36 -07:00
parent a1a21442bc
commit 73ba287338
4 changed files with 9 additions and 0 deletions

View File

@ -14,6 +14,8 @@
*/
#include "glue.h"
#include <unistd.h>
/*
* kill -- go out via exit...
*/

View File

@ -14,6 +14,8 @@
*/
#include "glue.h"
extern void print (char *ptr);
/*
* putnum -- print a 32 bit number in hex
*/

View File

@ -14,6 +14,9 @@
*/
#include "glue.h"
extern int _kill (int, int);
extern int _getpid (void);
int
_raise (int sig)
{

View File

@ -16,6 +16,8 @@
#include <sys/stat.h>
#include "glue.h"
extern int _write (int, char *, int);
caddr_t
_sbrk (size_t incr)
{