From 3d10b04f1ed9bf53c282081c88165951e8c32cec Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 29 Dec 2023 21:31:27 -0700 Subject: Fix various c99/gcc-14 issues in generic libgloss code Similar to what's been done in the ports, but this time in generic code. Add missing #includes to pick up prototypes. Add prototypes for various internal functions where needed. Fix signatures of various functions to match what's provided by the headers (read, sbrk, write, unlink). Nearly done with this effort ;-) Pushed to the trunk, --- libgloss/glue.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libgloss/glue.h') diff --git a/libgloss/glue.h b/libgloss/glue.h index 0a7e36db2..98c0a6ad2 100644 --- a/libgloss/glue.h +++ b/libgloss/glue.h @@ -13,6 +13,7 @@ * they apply. */ #include <_ansi.h> +#include #ifndef NULL # define NULL 0 @@ -28,4 +29,5 @@ extern char _end[]; /* _end is set in the linker command file */ /* only one prcess support, as this is OS dependant */ #define __MYPID 1 +int outbyte (char); -- cgit v1.2.3