From: Alan Cox Date: Sun, 13 Nov 2016 00:05:53 +0000 (+0000) Subject: syscalls: make the addr structure sized X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=3d70dfffb8db6cfa6b8fe16e072b46a0d2a6420b;p=FUZIX.git syscalls: make the addr structure sized We don't need to worry about the size but cc65 can't hack 0 sized terminal data objects. (cc65 bug) --- diff --git a/Library/include/syscalls.h b/Library/include/syscalls.h index b2f07d7c..7d99faf6 100644 --- a/Library/include/syscalls.h +++ b/Library/include/syscalls.h @@ -1,5 +1,4 @@ -/* SYSCALLS.H - */ +/* SYSCALLS.H */ #ifndef __SYSCALLS_H #define __SYSCALLS_H #ifndef __TYPES_H @@ -53,7 +52,7 @@ struct _uzifilesys { struct _sockio { uint16_t sio_flags; uint16_t sio_addr_len; - uint8_t sio_addr[0]; + uint8_t sio_addr[16]; }; struct hd_geometry {