]> pd.if.org Git - pdclib/blobdiff - platform/gandr/functions/_PDCLIB/_PDCLIB_freepages.c
dos2unix
[pdclib] / platform / gandr / functions / _PDCLIB / _PDCLIB_freepages.c
index d33f486555967783c06f9010cd172c6bdeeddc36..82eb816f0702421800242c42882c5500fb04ab58 100644 (file)
@@ -1,33 +1,33 @@
-/* _PDCLIB_allocpages( int const )\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
-/* This is a stub implementation of _PDCLIB_allocpages\r
-*/\r
-\r
-#include <stdint.h>\r
-#include <stddef.h>\r
-#include "_PDCLIB_glue.h"\r
-#include <errno.h>\r
-#include <gd_bal.h>\r
-\r
-void _PDCLIB_freepages( void * p, size_t n )\r
-{\r
-    int rv = 0;\r
-    if((rv = gd_free_pages( p, n ))) {\r
-        perror("_PDCLIB_freepages");\r
-        abort();\r
-    }\r
-}\r
-\r
-#ifdef TEST\r
-#include "_PDCLIB_test.h"\r
-\r
-int main( void )\r
-{\r
-    return TEST_RESULTS;\r
-}\r
-\r
-#endif\r
+/* _PDCLIB_allocpages( int const )
+
+   This file is part of the Public Domain C Library (PDCLib).
+   Permission is granted to use, modify, and / or redistribute at will.
+*/
+
+/* This is a stub implementation of _PDCLIB_allocpages
+*/
+
+#include <stdint.h>
+#include <stddef.h>
+#include "_PDCLIB_glue.h"
+#include <errno.h>
+#include <gd_bal.h>
+
+void _PDCLIB_freepages( void * p, size_t n )
+{
+    int rv = 0;
+    if((rv = gd_free_pages( p, n ))) {
+        perror("_PDCLIB_freepages");
+        abort();
+    }
+}
+
+#ifdef TEST
+#include "_PDCLIB_test.h"
+
+int main( void )
+{
+    return TEST_RESULTS;
+}
+
+#endif