From d32d30fc2e2717458dc441aea2c840c04d6b21e5 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 25 Dec 2017 09:22:47 -0500 Subject: static linking: crt objects: fixed signature of __ctty. --- crt/nt64/Scrt1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crt/nt64/Scrt1.c') diff --git a/crt/nt64/Scrt1.c b/crt/nt64/Scrt1.c index 0346479..d8ccb17 100644 --- a/crt/nt64/Scrt1.c +++ b/crt/nt64/Scrt1.c @@ -3,8 +3,8 @@ /* see also: crtidata.c */ /****************************************/ -static const unsigned char * __inherit = 0; -extern const unsigned char * __ctty __attribute((weak,alias("__inherit"))); +static const unsigned short * __inherit = 0; +extern const unsigned short * __ctty __attribute((weak,alias("__inherit"))); int __attribute__((__visibility__("hidden"))) __psx_init(int *,char ***,char ***,void *); void __attribute__((__visibility__("hidden"))) __libc_entry_routine(void *,void *,const unsigned short *,int); -- cgit v1.2.3