From dfa3c412d94ede393f9d2cab4c6ed0c61b773510 Mon Sep 17 00:00:00 2001 From: obarthel Date: Sat, 12 Jul 2025 12:30:59 +0200 Subject: [PATCH] The definition of 'locale_t' is now based upon a pointer to an "anonymous" structure Thanks go to sacredbanana for the fix. --- library/include/locale.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/library/include/locale.h b/library/include/locale.h index 66e50fe..3e2d6a1 100644 --- a/library/include/locale.h +++ b/library/include/locale.h @@ -1,10 +1,8 @@ /* - * $Id: locale.h,v 1.5 2006-01-08 12:06:14 obarthel Exp $ - * * :ts=4 * * Portable ISO 'C' (1994) runtime library for the Amiga computer - * Copyright (c) 2002-2015 by Olaf Barthel + * Copyright (c) 2002-2025 by Olaf Barthel * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -59,7 +57,10 @@ extern "C" { /****************************************************************************/ -typedef void *locale_t; +/* Forward declaration */ +struct __locale_t; + +typedef struct __locale_t *locale_t; /****************************************************************************/