From: Martin Baute Date: Sun, 30 Apr 2017 16:20:01 +0000 (+0200) Subject: Cosmetic comment fixes. X-Git-Url: https://pd.if.org/git/?p=pdclib;a=commitdiff_plain;h=c42d6c99b024d1a93994d734d9739a3db44c9d67 Cosmetic comment fixes. --- diff --git a/functions/_PDCLIB/Readme.txt b/functions/_PDCLIB/Readme.txt index 4679687..0ec2a9b 100644 --- a/functions/_PDCLIB/Readme.txt +++ b/functions/_PDCLIB/Readme.txt @@ -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. diff --git a/platform/example/functions/_PDCLIB/_PDCLIB_Exit.c b/platform/example/functions/_PDCLIB/_PDCLIB_Exit.c index 54bf80a..f5028e7 100644 --- a/platform/example/functions/_PDCLIB/_PDCLIB_Exit.c +++ b/platform/example/functions/_PDCLIB/_PDCLIB_Exit.c @@ -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. diff --git a/platform/gandr/functions/_PDCLIB/_PDCLIB_Exit.c b/platform/gandr/functions/_PDCLIB/_PDCLIB_Exit.c index 87b5fc9..9d0eaf8 100644 --- a/platform/gandr/functions/_PDCLIB/_PDCLIB_Exit.c +++ b/platform/gandr/functions/_PDCLIB/_PDCLIB_Exit.c @@ -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. diff --git a/platform/gandr/functions/_PDCLIB/_PDCLIB_freepages.c b/platform/gandr/functions/_PDCLIB/_PDCLIB_freepages.c index 82eb816..d87e2d8 100644 --- a/platform/gandr/functions/_PDCLIB/_PDCLIB_freepages.c +++ b/platform/gandr/functions/_PDCLIB/_PDCLIB_freepages.c @@ -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. diff --git a/platform/posix/functions/_PDCLIB/_PDCLIB_Exit.c b/platform/posix/functions/_PDCLIB/_PDCLIB_Exit.c index 0c41d81..6af5459 100644 --- a/platform/posix/functions/_PDCLIB/_PDCLIB_Exit.c +++ b/platform/posix/functions/_PDCLIB/_PDCLIB_Exit.c @@ -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 #ifndef REGTEST diff --git a/platform/posix/functions/_PDCLIB/_PDCLIB_allocpages.c b/platform/posix/functions/_PDCLIB/_PDCLIB_allocpages.c index ab64bbe..0416f18 100644 --- a/platform/posix/functions/_PDCLIB/_PDCLIB_allocpages.c +++ b/platform/posix/functions/_PDCLIB/_PDCLIB_allocpages.c @@ -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 diff --git a/platform/posix/functions/_PDCLIB/_PDCLIB_freepages.c b/platform/posix/functions/_PDCLIB/_PDCLIB_freepages.c index 7bf5270..f527ad5 100644 --- a/platform/posix/functions/_PDCLIB/_PDCLIB_freepages.c +++ b/platform/posix/functions/_PDCLIB/_PDCLIB_freepages.c @@ -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 #include diff --git a/platform/win32/functions/_PDCLIB/_PDCLIB_Exit.c b/platform/win32/functions/_PDCLIB/_PDCLIB_Exit.c index 3d88167..3778611 100644 --- a/platform/win32/functions/_PDCLIB/_PDCLIB_Exit.c +++ b/platform/win32/functions/_PDCLIB/_PDCLIB_Exit.c @@ -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 #ifndef REGTEST diff --git a/platform/win32/functions/_PDCLIB/_PDCLIB_allocpages.c b/platform/win32/functions/_PDCLIB/_PDCLIB_allocpages.c index 1e33c7e..e3c2a79 100644 --- a/platform/win32/functions/_PDCLIB/_PDCLIB_allocpages.c +++ b/platform/win32/functions/_PDCLIB/_PDCLIB_allocpages.c @@ -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 #include diff --git a/platform/win32/functions/_PDCLIB/_PDCLIB_freepages.c b/platform/win32/functions/_PDCLIB/_PDCLIB_freepages.c index 4a0404a..0748eb3 100644 --- a/platform/win32/functions/_PDCLIB/_PDCLIB_freepages.c +++ b/platform/win32/functions/_PDCLIB/_PDCLIB_freepages.c @@ -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 diff --git a/platform/win32/functions/_PDCLIB/_PDCLIB_open.c b/platform/win32/functions/_PDCLIB/_PDCLIB_open.c index a47af17..21c8995 100644 --- a/platform/win32/functions/_PDCLIB/_PDCLIB_open.c +++ b/platform/win32/functions/_PDCLIB/_PDCLIB_open.c @@ -4,9 +4,6 @@ Permission is granted to use, modify, and / or redistribute at will. */ -/* This is a stub implementation of open. -*/ - #include #include diff --git a/platform/win32/functions/_PDCLIB/_PDCLIB_runTlsCallbacks.c b/platform/win32/functions/_PDCLIB/_PDCLIB_runTlsCallbacks.c index 064fd40..318f91c 100644 --- a/platform/win32/functions/_PDCLIB/_PDCLIB_runTlsCallbacks.c +++ b/platform/win32/functions/_PDCLIB/_PDCLIB_runTlsCallbacks.c @@ -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 #include @@ -31,4 +37,4 @@ int main( void ) return TEST_RESULTS; } -#endif \ No newline at end of file +#endif diff --git a/platform/win32/functions/_PDCLIB/_PDCLIB_w32errno.c b/platform/win32/functions/_PDCLIB/_PDCLIB_w32errno.c index 8f2c802..4842d7f 100644 --- a/platform/win32/functions/_PDCLIB/_PDCLIB_w32errno.c +++ b/platform/win32/functions/_PDCLIB/_PDCLIB_w32errno.c @@ -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 #include // Watcom bug: winnt.h assumes string.h defines wchar_t diff --git a/platform/win32/functions/_PDCLIB/_tls_used.c b/platform/win32/functions/_PDCLIB/_tls_used.c index e13168b..6ee5ad6 100644 --- a/platform/win32/functions/_PDCLIB/_tls_used.c +++ b/platform/win32/functions/_PDCLIB/_tls_used.c @@ -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 #include @@ -52,4 +58,4 @@ int main( void ) return TEST_RESULTS; } -#endif \ No newline at end of file +#endif