rename '_poserror' to '__poserror'

The old name could be non-conforming to the C standard. The new name
is definitely in the "implementation name space".

See issue #1796.
This commit is contained in:
Christian Groessler
2022-07-24 00:33:56 +02:00
parent d85ca8aedd
commit 758d9466c0
6 changed files with 24 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
/*****************************************************************************/
/* */
/* _poserror.c */
/* __poserror.c */
/* */
/* Output a system dependent error code */
/* */
@@ -39,7 +39,7 @@
void __fastcall__ _poserror (const char* msg)
void __fastcall__ __poserror (const char* msg)
{
/* Fetch the message that corresponds to _oserror */
const char* errormsg = _stroserror (_oserror);

View File

@@ -1,5 +1,5 @@
/*
** _poserror.c
** __poserror.c
**
** Maciej 'YTM/Elysium' Witkowiak, 25.04.2003
*/
@@ -9,7 +9,7 @@
#include <errno.h>
#include <geos.h>
void __fastcall__ _poserror (const char* msg)
void __fastcall__ __poserror (const char* msg)
{
const char *errmsg = _stroserror(_oserror);