From b1db7bea4fcc15c30a3a1b34056690cc12971298 Mon Sep 17 00:00:00 2001 From: Owen Shepherd Date: Mon, 31 Dec 2012 20:28:46 +0000 Subject: [PATCH] PDCLIB-1 locale functions only included <_PDCLIB_locale.h>, not . This prevented compilation in regression test mode --- functions/_PDCLIB/_PDCLIB_closeall.c | 2 +- functions/locale/localeconv.c | 4 ++-- functions/locale/setlocale.c | 4 +--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/functions/_PDCLIB/_PDCLIB_closeall.c b/functions/_PDCLIB/_PDCLIB_closeall.c index bc6b417..30cdb9e 100644 --- a/functions/_PDCLIB/_PDCLIB_closeall.c +++ b/functions/_PDCLIB/_PDCLIB_closeall.c @@ -7,9 +7,9 @@ */ #include -#include <_PDCLIB_io.h> #ifndef REGTEST +#include <_PDCLIB_io.h> extern _PDCLIB_file_t * _PDCLIB_filelist; void _PDCLIB_closeall( void ) diff --git a/functions/locale/localeconv.c b/functions/locale/localeconv.c index 5b49571..5da63d0 100644 --- a/functions/locale/localeconv.c +++ b/functions/locale/localeconv.c @@ -4,9 +4,9 @@ Permission is granted to use, modify, and / or redistribute at will. */ -#include <_PDCLIB_locale.h> - +#include #ifndef REGTEST +#include <_PDCLIB_locale.h> struct lconv * localeconv( void ) { diff --git a/functions/locale/setlocale.c b/functions/locale/setlocale.c index 9b08b93..888c6c1 100644 --- a/functions/locale/setlocale.c +++ b/functions/locale/setlocale.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* setlocale( int, const char * ) This file is part of the Public Domain C Library (PDCLib). @@ -7,8 +5,8 @@ */ #include - #ifndef REGTEST +#include <_PDCLIB_locale.h> char * setlocale( int category, const char * locale ) { -- 2.40.0