]> pd.if.org Git - pdclib/commitdiff
Cosmetic comment fixes. branches/default master origin/bookmarks/master origin/branches/default
authorMartin Baute <solar@rootdirectory.de>
Sun, 30 Apr 2017 16:20:01 +0000 (18:20 +0200)
committerMartin Baute <solar@rootdirectory.de>
Sun, 30 Apr 2017 16:20:01 +0000 (18:20 +0200)
14 files changed:
functions/_PDCLIB/Readme.txt
platform/example/functions/_PDCLIB/_PDCLIB_Exit.c
platform/gandr/functions/_PDCLIB/_PDCLIB_Exit.c
platform/gandr/functions/_PDCLIB/_PDCLIB_freepages.c
platform/posix/functions/_PDCLIB/_PDCLIB_Exit.c
platform/posix/functions/_PDCLIB/_PDCLIB_allocpages.c
platform/posix/functions/_PDCLIB/_PDCLIB_freepages.c
platform/win32/functions/_PDCLIB/_PDCLIB_Exit.c
platform/win32/functions/_PDCLIB/_PDCLIB_allocpages.c
platform/win32/functions/_PDCLIB/_PDCLIB_freepages.c
platform/win32/functions/_PDCLIB/_PDCLIB_open.c
platform/win32/functions/_PDCLIB/_PDCLIB_runTlsCallbacks.c
platform/win32/functions/_PDCLIB/_PDCLIB_w32errno.c
platform/win32/functions/_PDCLIB/_tls_used.c

index 46796879c09956c5c53225b8dbe6d4c2da0e42dc..0ec2a9b1e671d77a0c290c4fafd7c42897ecdfa9 100644 (file)
@@ -3,8 +3,8 @@ This directory holds various "internals" of PDCLib:
 - definitions of helper functions not specified by the standard (hidden in the
   _PDCLIB_* namespace);
 
-- definitions of data objects, both internal (like digits.c) and specified by
-  the standard (errno.c);
+- definitions of data objects, both internal (like _PDCLIB_digits) and specified by
+  the standard (errno);
 
 - test drivers for functionality that does not have its own implementation
   file to put the test driver in.
index 54bf80ab4e6f75670d6a624bea90746e72c78119..f5028e7058ef7019f9aeeb096291f009e7b946a4 100644 (file)
@@ -1,4 +1,4 @@
-/* _PDCLIB_exit( int )
+/* _PDCLIB_Exit( int )
 
    This file is part of the Public Domain C Library (PDCLib).
    Permission is granted to use, modify, and / or redistribute at will.
index 87b5fc91997681d5e6601e547df894fd449f6881..9d0eaf816ceec18e3a8214be3bda0c2409a16e52 100644 (file)
@@ -1,4 +1,4 @@
-/* _PDCLIB_exit( int )
+/* _PDCLIB_Exit( int )
 
    This file is part of the Public Domain C Library (PDCLib).
    Permission is granted to use, modify, and / or redistribute at will.
index 82eb816f0702421800242c42882c5500fb04ab58..d87e2d84cd6b7606c3219449ddc6543e0480d645 100644 (file)
@@ -1,4 +1,4 @@
-/* _PDCLIB_allocpages( int const )
+/* _PDCLIB_freepages( void *, size_t )
 
    This file is part of the Public Domain C Library (PDCLib).
    Permission is granted to use, modify, and / or redistribute at will.
index 0c41d810e7ebf4d8a0543a145c5d89a7d773615e..6af5459c1a0782b4fa1c41c876d6377b571c5bca 100644 (file)
@@ -1,13 +1,9 @@
-/* _PDCLIB_exit( int )
+/* _PDCLIB_Exit( int )
 
    This file is part of the Public Domain C Library (PDCLib).
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
-/* This is an example implementation of _PDCLIB_exit() fit for use with POSIX
-   kernels.
-*/
-
 #include <stdlib.h>
 
 #ifndef REGTEST
index ab64bbe89f555a4e0abcedd4ad38bf49677e82c3..0416f181170daffec942e1dd32021228ae092ca1 100644 (file)
@@ -1,13 +1,9 @@
-/* _PDCLIB_allocpages( int const )
+/* _PDCLIB_allocpages( size_t )
 
    This file is part of the Public Domain C Library (PDCLib).
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
-/* This is an example implementation of _PDCLIB_allocpages() (declared in
-   _PDCLIB_config.h), fit for use with POSIX kernels.
-*/
-
 #ifndef REGTEST
 #ifdef __linux__
 #define _GNU_SOURCE
index 7bf5270050f9913917a1dfc438bab8082e0124ce..f527ad5124d2db1112fcc2687782dcf28fec1915 100644 (file)
@@ -4,10 +4,6 @@
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
-/* This is an example implementation of _PDCLIB_allocpages() (declared in
-   _PDCLIB_config.h), fit for use with POSIX kernels.
-*/
-
 #ifndef REGTEST
 #include <stdint.h>
 #include <stddef.h>
index 3d8816791665f95a669425396639585eeef09500..3778611724c42057858264ca21505252466ca309 100644 (file)
@@ -1,12 +1,9 @@
-/* _PDCLIB_exit( int )
+/* _PDCLIB_Exit( int )
 
    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_Exit
-*/
-
 #include <stdlib.h>
 
 #ifndef REGTEST
index 1e33c7e0e87c61a73d840c4dde73dbc76a97617a..e3c2a792478c09b92642b6f002b82b71bf50f71a 100644 (file)
@@ -1,12 +1,9 @@
-/* _PDCLIB_allocpages( int const )
+/* _PDCLIB_allocpages( size_t )
 
    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
-*/
-
 #ifndef REGTEST
 #include <stdint.h>
 #include <stddef.h>
index 4a0404afc472e9ae16404e4a5030e74ec245ddec..0748eb3ae4942fbd6f14b65fac395d356b729ef4 100644 (file)
@@ -4,7 +4,7 @@
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
-/* This is a stub implementation of _PDCLIB_allocpages
+/* This is a stub implementation of _PDCLIB_freepages.
 */
 
 #include <stdint.h>
index a47af17f207353139c207d6aa7947afc76fc46b1..21c899566915f480cea53d6b74ec9fbd0d149c71 100644 (file)
@@ -4,9 +4,6 @@
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
-/* This is a stub implementation of open.
-*/
-
 #include <stdio.h>
 #include <errno.h>
 
index 064fd40957dfc76b714e0b70786890d650740a3f..318f91ceabf6bcf089846e746171cc38f0c064ba 100644 (file)
@@ -1,3 +1,9 @@
+/* _PDCLIB_runTlsCallbacks( void *, DWORD, PVOID )
+
+   This file is part of the Public Domain C Library (PDCLib).
+   Permission is granted to use, modify, and / or redistribute at will.
+*/
+
 #include <stddef.h>
 #include <windows.h>
 
@@ -31,4 +37,4 @@ int main( void )
     return TEST_RESULTS;
 }
 
-#endif
\ No newline at end of file
+#endif
index 8f2c8020c8edae0e902ec7973b56d6606c0e12e9..4842d7ff9da415549f73c2a656bf85be821063d4 100644 (file)
@@ -1,12 +1,9 @@
-/* _PDCLIB_allocpages( int const )
+/* _PDCLIB_w32errno( void )
 
    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
-*/
-
 #ifndef REGTEST
 #include <errno.h>
 #include <wchar.h> // Watcom bug: winnt.h assumes string.h defines wchar_t
index e13168ba29fb3fd7f7573338ad17026349afd4b4..6ee5ad62ec008f4255fa742b2670605331d216e1 100644 (file)
@@ -1,3 +1,9 @@
+/* _tls_used
+
+   This file is part of the Public Domain C Library (PDCLib).
+   Permission is granted to use, modify, and / or redistribute at will.
+*/
+
 #ifndef REGTEST
 #include <stddef.h>
 #include <stdint.h>
@@ -52,4 +58,4 @@ int main( void )
     return TEST_RESULTS;
 }
 
-#endif
\ No newline at end of file
+#endif