]> pd.if.org Git - pdclib.old/commitdiff
PDCLIB-1 Add stub freelocale()
authorOwen Shepherd <owen.shepherd@e43.eu>
Fri, 11 Jan 2013 18:18:26 +0000 (18:18 +0000)
committerOwen Shepherd <owen.shepherd@e43.eu>
Fri, 11 Jan 2013 18:18:26 +0000 (18:18 +0000)
functions/locale/freelocale.c [new file with mode: 0644]

diff --git a/functions/locale/freelocale.c b/functions/locale/freelocale.c
new file mode 100644 (file)
index 0000000..1862399
--- /dev/null
@@ -0,0 +1,29 @@
+/* freelocale( locale_t )\r
+\r
+   This file is part of the Public Domain C Library (PDCLib).\r
+   Permission is granted to use, modify, and / or redistribute at will.\r
+*/\r
+\r
+#include <locale.h>\r
+#ifndef REGTEST\r
+#include <_PDCLIB_locale.h>\r
+#include <assert.h>\r
+\r
+void freelocale( locale_t newloc )\r
+{\r
+    if( newloc != NULL ) {\r
+        assert( ! "Not implemented" );\r
+    }\r
+}\r
+\r
+#endif\r
+\r
+#ifdef TEST\r
+#include <_PDCLIB_test.h>\r
+\r
+int main( void )\r
+{\r
+    TESTCASE( NO_TESTDRIVER );\r
+    return TEST_RESULTS;\r
+}\r
+#endif\r