From: Owen Shepherd Date: Fri, 11 Jan 2013 18:18:26 +0000 (+0000) Subject: PDCLIB-1 Add stub freelocale() X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=commitdiff_plain;h=3cb723d69247b11e06c687a5057c57c37c326d3c PDCLIB-1 Add stub freelocale() --- 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