From 3cb723d69247b11e06c687a5057c57c37c326d3c Mon Sep 17 00:00:00 2001 From: Owen Shepherd Date: Fri, 11 Jan 2013 18:18:26 +0000 Subject: [PATCH] PDCLIB-1 Add stub freelocale() --- functions/locale/freelocale.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 functions/locale/freelocale.c diff --git a/functions/locale/freelocale.c b/functions/locale/freelocale.c new file mode 100644 index 0000000..1862399 --- /dev/null +++ b/functions/locale/freelocale.c @@ -0,0 +1,29 @@ +/* freelocale( locale_t ) + + This file is part of the Public Domain C Library (PDCLib). + Permission is granted to use, modify, and / or redistribute at will. +*/ + +#include +#ifndef REGTEST +#include <_PDCLIB_locale.h> +#include + +void freelocale( locale_t newloc ) +{ + if( newloc != NULL ) { + assert( ! "Not implemented" ); + } +} + +#endif + +#ifdef TEST +#include <_PDCLIB_test.h> + +int main( void ) +{ + TESTCASE( NO_TESTDRIVER ); + return TEST_RESULTS; +} +#endif -- 2.40.0