diff --git a/arch b/arch index 8cd57d72bc4..6a1d7e2d002 160000 --- a/arch +++ b/arch @@ -1 +1 @@ -Subproject commit 8cd57d72bc48ab44b21fa36aa117367c2e8d0129 +Subproject commit 6a1d7e2d00220168220fd511937fe3680f3627ef diff --git a/binfmt/binfmt_dumpmodule.c b/binfmt/binfmt_dumpmodule.c index 8fec9adb7e0..59ed17a94e4 100644 --- a/binfmt/binfmt_dumpmodule.c +++ b/binfmt/binfmt_dumpmodule.c @@ -65,11 +65,11 @@ * Private Functions ****************************************************************************/ -/*********************************************************************** +/**************************************************************************** * Public Functions - ***********************************************************************/ + ****************************************************************************/ -/*********************************************************************** +/**************************************************************************** * Name: dump_module * * Description: @@ -80,7 +80,7 @@ * 0 (OK) is returned on success and a negated errno is returned on * failure. * - ***********************************************************************/ + ****************************************************************************/ int dump_module(FAR const struct binary_s *bin) { diff --git a/binfmt/nxflat.c b/binfmt/nxflat.c index a839bbc07cb..f308de73b08 100644 --- a/binfmt/nxflat.c +++ b/binfmt/nxflat.c @@ -227,11 +227,11 @@ errout: return ret; } -/*********************************************************************** +/**************************************************************************** * Public Functions - ***********************************************************************/ + ****************************************************************************/ -/*********************************************************************** +/**************************************************************************** * Name: nxflat_initialize * * Description: @@ -244,7 +244,7 @@ errout: * 0 (OK) is returned on success and a negated errno is returned on * failure. * - ***********************************************************************/ + ****************************************************************************/ int nxflat_initialize(void) { diff --git a/binfmt/symtab_findbyname.c b/binfmt/symtab_findbyname.c index c0343e2708b..ecbd1bd7ee5 100644 --- a/binfmt/symtab_findbyname.c +++ b/binfmt/symtab_findbyname.c @@ -62,9 +62,9 @@ * Private Functions ****************************************************************************/ -/*********************************************************************** +/**************************************************************************** * Public Functions - ***********************************************************************/ + ****************************************************************************/ /**************************************************************************** * Name: symtab_findbyname diff --git a/binfmt/symtab_findbyvalue.c b/binfmt/symtab_findbyvalue.c index c47d5c7518f..600614a1e3c 100644 --- a/binfmt/symtab_findbyvalue.c +++ b/binfmt/symtab_findbyvalue.c @@ -62,9 +62,9 @@ * Private Functions ****************************************************************************/ -/*********************************************************************** +/**************************************************************************** * Public Functions - ***********************************************************************/ + ****************************************************************************/ /**************************************************************************** * Name: symtab_findbyvalue diff --git a/binfmt/symtab_findorderedbyname.c b/binfmt/symtab_findorderedbyname.c index ce63b458b0a..e058bd770c8 100644 --- a/binfmt/symtab_findorderedbyname.c +++ b/binfmt/symtab_findorderedbyname.c @@ -62,9 +62,9 @@ * Private Functions ****************************************************************************/ -/*********************************************************************** +/**************************************************************************** * Public Functions - ***********************************************************************/ + ****************************************************************************/ /**************************************************************************** * Name: symtab_findorderedbyname diff --git a/binfmt/symtab_findorderedbyvalue.c b/binfmt/symtab_findorderedbyvalue.c index bad4bf8cd78..7af0d6a218c 100644 --- a/binfmt/symtab_findorderedbyvalue.c +++ b/binfmt/symtab_findorderedbyvalue.c @@ -62,9 +62,9 @@ * Private Functions ****************************************************************************/ -/*********************************************************************** +/**************************************************************************** * Public Functions - ***********************************************************************/ + ****************************************************************************/ /**************************************************************************** * Name: symtab_findorderedbyvalue diff --git a/configs b/configs index 7e3617b2922..35414c3a91d 160000 --- a/configs +++ b/configs @@ -1 +1 @@ -Subproject commit 7e3617b29222394a5bcc1f20dab7ab9c8a35cda1 +Subproject commit 35414c3a91d471276c7ff7ddc2ef8ba8a47aa9cd diff --git a/drivers/sercomm/console.c b/drivers/sercomm/console.c index c066e8fe7ae..9b9a9063e7e 100644 --- a/drivers/sercomm/console.c +++ b/drivers/sercomm/console.c @@ -35,7 +35,7 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - **************************************************************************/ + ****************************************************************************/ #include #include diff --git a/drivers/sercomm/uart.c b/drivers/sercomm/uart.c index 3cf52f7dbb3..234f600dd8b 100644 --- a/drivers/sercomm/uart.c +++ b/drivers/sercomm/uart.c @@ -32,7 +32,7 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - **************************************************************************/ + ****************************************************************************/ #include #include diff --git a/drivers/spi/spi_bitbang.c b/drivers/spi/spi_bitbang.c index b720266ee7f..bc88eac5bef 100644 --- a/drivers/spi/spi_bitbang.c +++ b/drivers/spi/spi_bitbang.c @@ -438,7 +438,7 @@ static void spi_exchange(FAR struct spi_dev_s *dev, } } -/*************************************************************************** +/**************************************************************************** * Name: spi_sndblock * * Description: diff --git a/drivers/usbdev/composite.c b/drivers/usbdev/composite.c index e3ff43a19d1..0fc6a52a0c7 100644 --- a/drivers/usbdev/composite.c +++ b/drivers/usbdev/composite.c @@ -872,7 +872,7 @@ errout_with_alloc: * Returned Value: * None * - ***************************************************************************/ + ****************************************************************************/ void composite_uninitialize(FAR void *handle) { diff --git a/drivers/wireless/cc3000/cc3000drv.c b/drivers/wireless/cc3000/cc3000drv.c index 491d603aafb..d563696db9e 100644 --- a/drivers/wireless/cc3000/cc3000drv.c +++ b/drivers/wireless/cc3000/cc3000drv.c @@ -1,4 +1,4 @@ -/************************************************************************** +/**************************************************************************** * drivers/wireless/cc3000/cc3000drv.c * Driver wrapper functions to conntect nuttx to the TI CC3000 * diff --git a/fs/mqueue/mq_unlink.c b/fs/mqueue/mq_unlink.c index 3d6f6e039d2..f71b12d45a6 100644 --- a/fs/mqueue/mq_unlink.c +++ b/fs/mqueue/mq_unlink.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * fs/mqueue/mq_unlink.c * * Copyright (C) 2007, 2009, 2014 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -49,31 +49,31 @@ #include "inode/inode.h" #include "mqueue/mqueue.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: mq_unlink * * Description: @@ -90,7 +90,7 @@ * * Assumptions: * - ************************************************************************/ + ****************************************************************************/ int mq_unlink(FAR const char *mq_name) { diff --git a/fs/vfs/fs_sendfile.c b/fs/vfs/fs_sendfile.c index 0935460c16c..8e68c8514b8 100644 --- a/fs/vfs/fs_sendfile.c +++ b/fs/vfs/fs_sendfile.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * fs/vfs/fs_sendfile.c * * Copyright (C) 2007, 2009, 2011, 2013 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -51,27 +51,27 @@ #if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NET_SENDFILE -/************************************************************************ +/**************************************************************************** * Private types - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sendfile * * Description: @@ -114,7 +114,7 @@ * EINVAL - Bad input parameters. * ENOMEM - Could not allocated an I/O buffer * - ************************************************************************/ + ****************************************************************************/ ssize_t sendfile(int outfd, int infd, off_t *offset, size_t count) { diff --git a/fs/vfs/fs_write.c b/fs/vfs/fs_write.c index 830e56dcc02..b7f71a22656 100644 --- a/fs/vfs/fs_write.c +++ b/fs/vfs/fs_write.c @@ -108,7 +108,7 @@ errout: return ERROR; } -/*************************************************************************** +/**************************************************************************** * Name: write * * Description: diff --git a/libc/fixedmath/lib_fixedmath.c b/libc/fixedmath/lib_fixedmath.c index 9e9213b4fcf..cf072fd5412 100644 --- a/libc/fixedmath/lib_fixedmath.c +++ b/libc/fixedmath/lib_fixedmath.c @@ -140,7 +140,7 @@ b16_t b16mulb16(b16_t m1, b16_t m2) /**************************************************************************** * Name: ub16mulub16 - **************************************************************************/ + ****************************************************************************/ ub16_t ub16mulub16(ub16_t m1, ub16_t m2) { @@ -166,7 +166,7 @@ ub16_t ub16mulub16(ub16_t m1, ub16_t m2) /**************************************************************************** * Name: b16sqr - **************************************************************************/ + ****************************************************************************/ b16_t b16sqr(b16_t a) { @@ -191,7 +191,7 @@ b16_t b16sqr(b16_t a) /**************************************************************************** * Name: b16divb16 - **************************************************************************/ + ****************************************************************************/ ub16_t ub16sqr(ub16_t a) { @@ -213,7 +213,7 @@ ub16_t ub16sqr(ub16_t a) /**************************************************************************** * Name: b16divb16 - **************************************************************************/ + ****************************************************************************/ b16_t b16divb16(b16_t num, b16_t denom) { @@ -227,7 +227,7 @@ b16_t b16divb16(b16_t num, b16_t denom) /**************************************************************************** * Name: ub16divub16 - **************************************************************************/ + ****************************************************************************/ ub16_t ub16divub16(ub16_t num, ub16_t denom) { diff --git a/libc/math/lib_acos.c b/libc/math/lib_acos.c index c1da957f92e..4903af43bc6 100644 --- a/libc/math/lib_acos.c +++ b/libc/math/lib_acos.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_acos.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double acos(double x) diff --git a/libc/math/lib_acosf.c b/libc/math/lib_acosf.c index e75325dc014..6719e54a67d 100644 --- a/libc/math/lib_acosf.c +++ b/libc/math/lib_acosf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_acosf.c * * This file is a part of NuttX: @@ -23,17 +23,17 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float acosf(float x) { diff --git a/libc/math/lib_acosh.c b/libc/math/lib_acosh.c index cd9fde5598a..278c454e9d0 100644 --- a/libc/math/lib_acosh.c +++ b/libc/math/lib_acosh.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_acosh.c * * Copyright (C) 2015 Brennan Ashton. All rights reserved. @@ -33,18 +33,18 @@ * ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double acosh(double x) diff --git a/libc/math/lib_acoshf.c b/libc/math/lib_acoshf.c index fa5c9549d84..a676d6a40e4 100644 --- a/libc/math/lib_acoshf.c +++ b/libc/math/lib_acoshf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_acoshf.c * * Copyright (C) 2015 Brennan Ashton. All rights reserved. @@ -33,18 +33,18 @@ * ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float acoshf(float x) { diff --git a/libc/math/lib_acoshl.c b/libc/math/lib_acoshl.c index bc2cd31da11..34a1dec3612 100644 --- a/libc/math/lib_acoshl.c +++ b/libc/math/lib_acoshl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_acoshl.c * * Copyright (C) 2015 Brennan Ashton. All rights reserved. @@ -33,18 +33,18 @@ * ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double acoshl(long double x) diff --git a/libc/math/lib_acosl.c b/libc/math/lib_acosl.c index 588d7ed58e4..f13cb00a04f 100644 --- a/libc/math/lib_acosl.c +++ b/libc/math/lib_acosl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_acos.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double acosl(long double x) diff --git a/libc/math/lib_asin.c b/libc/math/lib_asin.c index 5940ce82157..08a2dc9573b 100644 --- a/libc/math/lib_asin.c +++ b/libc/math/lib_asin.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_sin.c * * This file is a part of NuttX: @@ -23,11 +23,11 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -35,16 +35,16 @@ #include #include -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ #undef DBL_EPSILON #define DBL_EPSILON 1e-12 -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double asin(double x) diff --git a/libc/math/lib_asinf.c b/libc/math/lib_asinf.c index 1da555ab86f..e22d32fe792 100644 --- a/libc/math/lib_asinf.c +++ b/libc/math/lib_asinf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_sinf.c * * This file is a part of NuttX: @@ -23,18 +23,18 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float asinf(float x) { diff --git a/libc/math/lib_asinh.c b/libc/math/lib_asinh.c index 5a30ac1aa25..ef52323b976 100644 --- a/libc/math/lib_asinh.c +++ b/libc/math/lib_asinh.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_asinh.c * * Copyright (C) 2015 Brennan Ashton. All rights reserved. @@ -33,18 +33,18 @@ * ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double asinh(double x) diff --git a/libc/math/lib_asinhf.c b/libc/math/lib_asinhf.c index 37141a65c4e..ba749a6569f 100644 --- a/libc/math/lib_asinhf.c +++ b/libc/math/lib_asinhf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_asinhf.c * * Copyright (C) 2015 Brennan Ashton. All rights reserved. @@ -33,18 +33,18 @@ * ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float asinhf(float x) { diff --git a/libc/math/lib_asinhl.c b/libc/math/lib_asinhl.c index b2fb201a382..bbbb3d66f6f 100644 --- a/libc/math/lib_asinhl.c +++ b/libc/math/lib_asinhl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_asinhl.c * * Copyright (C) 2015 Brennan Ashton. All rights reserved. @@ -33,18 +33,18 @@ * ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double asinhl(long double x) diff --git a/libc/math/lib_asinl.c b/libc/math/lib_asinl.c index f51e7deb3db..466910daf31 100644 --- a/libc/math/lib_asinl.c +++ b/libc/math/lib_asinl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_sinl.c * * This file is a part of NuttX: @@ -23,11 +23,11 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -35,9 +35,9 @@ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double asinl(long double x) diff --git a/libc/math/lib_atan.c b/libc/math/lib_atan.c index daf5b260348..91930bf03e2 100644 --- a/libc/math/lib_atan.c +++ b/libc/math/lib_atan.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_atan.c * * This file is a part of NuttX: @@ -23,11 +23,11 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -36,9 +36,9 @@ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double atan(double x) diff --git a/libc/math/lib_atan2.c b/libc/math/lib_atan2.c index 4255214fea8..5b0f7e2989d 100644 --- a/libc/math/lib_atan2.c +++ b/libc/math/lib_atan2.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_atan2.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double atan2(double y, double x) diff --git a/libc/math/lib_atan2f.c b/libc/math/lib_atan2f.c index 8e7d9cea937..5d766df99db 100644 --- a/libc/math/lib_atan2f.c +++ b/libc/math/lib_atan2f.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_atan2f.c * * This file is a part of NuttX: @@ -23,17 +23,17 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float atan2f(float y, float x) { diff --git a/libc/math/lib_atan2l.c b/libc/math/lib_atan2l.c index 5ea4616be8b..4c384e80892 100644 --- a/libc/math/lib_atan2l.c +++ b/libc/math/lib_atan2l.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_atan2l.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double atan2l(long double y, long double x) diff --git a/libc/math/lib_atanf.c b/libc/math/lib_atanf.c index 2f3638d172b..c9835c6f24d 100644 --- a/libc/math/lib_atanf.c +++ b/libc/math/lib_atanf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_atanf.c * * This file is a part of NuttX: @@ -23,19 +23,19 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float atanf(float x) { diff --git a/libc/math/lib_atanh.c b/libc/math/lib_atanh.c index 396e80852a3..4858f41f5bc 100644 --- a/libc/math/lib_atanh.c +++ b/libc/math/lib_atanh.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_atanh.c * * Copyright (C) 2015 Brennan Ashton. All rights reserved. @@ -33,18 +33,18 @@ * ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double atanh(double x) diff --git a/libc/math/lib_atanhf.c b/libc/math/lib_atanhf.c index a49ba995c57..60a6696f73e 100644 --- a/libc/math/lib_atanhf.c +++ b/libc/math/lib_atanhf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_atanhf.c * * Copyright (C) 2015 Brennan Ashton. All rights reserved. @@ -33,18 +33,18 @@ * ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float atanhf(float x) { diff --git a/libc/math/lib_atanhl.c b/libc/math/lib_atanhl.c index 77a187e51b8..7b3e8367b3c 100644 --- a/libc/math/lib_atanhl.c +++ b/libc/math/lib_atanhl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_atanhl.c * * Copyright (C) 2015 Brennan Ashton. All rights reserved. @@ -33,18 +33,18 @@ * ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE long double atanhl(long double x) diff --git a/libc/math/lib_atanl.c b/libc/math/lib_atanl.c index 48dcb03e21c..50376c26a00 100644 --- a/libc/math/lib_atanl.c +++ b/libc/math/lib_atanl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_atanl.c * * This file is a part of NuttX: @@ -23,11 +23,11 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -36,9 +36,9 @@ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double atanl(long double x) diff --git a/libc/math/lib_ceil.c b/libc/math/lib_ceil.c index 73e4b8ee4a8..6d367a51c76 100644 --- a/libc/math/lib_ceil.c +++ b/libc/math/lib_ceil.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_ceil.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double ceil(double x) diff --git a/libc/math/lib_ceilf.c b/libc/math/lib_ceilf.c index 850e762f250..8378141abdc 100644 --- a/libc/math/lib_ceilf.c +++ b/libc/math/lib_ceilf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_ceilf.c * * This file is a part of NuttX: @@ -23,17 +23,17 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float ceilf(float x) { diff --git a/libc/math/lib_ceill.c b/libc/math/lib_ceill.c index 3e15ee302d7..ac54c2c3db3 100644 --- a/libc/math/lib_ceill.c +++ b/libc/math/lib_ceill.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_ceil;.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double ceill(long double x) diff --git a/libc/math/lib_copysign.c b/libc/math/lib_copysign.c index ee62504db13..689457cf5f4 100644 --- a/libc/math/lib_copysign.c +++ b/libc/math/lib_copysign.c @@ -34,18 +34,18 @@ * ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double copysign(double x, double y) diff --git a/libc/math/lib_copysignf.c b/libc/math/lib_copysignf.c index 0d12640cc3a..9684f68a746 100644 --- a/libc/math/lib_copysignf.c +++ b/libc/math/lib_copysignf.c @@ -34,18 +34,18 @@ * ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float copysignf(float x, float y) { diff --git a/libc/math/lib_copysignl.c b/libc/math/lib_copysignl.c index 3a49713b58c..b7f99e77283 100644 --- a/libc/math/lib_copysignl.c +++ b/libc/math/lib_copysignl.c @@ -34,18 +34,18 @@ * ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double copysignl(long double x, long double y) diff --git a/libc/math/lib_cos.c b/libc/math/lib_cos.c index cfa0a9a4b91..34d90716af2 100644 --- a/libc/math/lib_cos.c +++ b/libc/math/lib_cos.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_cos.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double cos(double x) diff --git a/libc/math/lib_cosf.c b/libc/math/lib_cosf.c index 2e23419a1df..55ba93c1c85 100644 --- a/libc/math/lib_cosf.c +++ b/libc/math/lib_cosf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_cosf.c * * This file is a part of NuttX: @@ -23,17 +23,17 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float cosf(float x) { diff --git a/libc/math/lib_cosh.c b/libc/math/lib_cosh.c index 40d9ce0c19b..73283589b5d 100644 --- a/libc/math/lib_cosh.c +++ b/libc/math/lib_cosh.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_cosh.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double cosh(double x) diff --git a/libc/math/lib_coshf.c b/libc/math/lib_coshf.c index 9a3f7285315..7cb575822f2 100644 --- a/libc/math/lib_coshf.c +++ b/libc/math/lib_coshf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_coshf.c * * This file is a part of NuttX: @@ -23,17 +23,17 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float coshf(float x) { diff --git a/libc/math/lib_coshl.c b/libc/math/lib_coshl.c index b7e58ec7ef5..445629c24ec 100644 --- a/libc/math/lib_coshl.c +++ b/libc/math/lib_coshl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_coshl.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double coshl(long double x) diff --git a/libc/math/lib_cosl.c b/libc/math/lib_cosl.c index f328b994a6e..89109db77d9 100644 --- a/libc/math/lib_cosl.c +++ b/libc/math/lib_cosl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_cosl.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double cosl(long double x) diff --git a/libc/math/lib_erf.c b/libc/math/lib_erf.c index a4101701616..ecb1e36dbd0 100644 --- a/libc/math/lib_erf.c +++ b/libc/math/lib_erf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_erf.c * * Copyright (C) 2015 Brennan Ashton. All rights reserved. @@ -33,18 +33,18 @@ * ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double erf(double x) diff --git a/libc/math/lib_erff.c b/libc/math/lib_erff.c index 4e773320a12..2b38808caa4 100644 --- a/libc/math/lib_erff.c +++ b/libc/math/lib_erff.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_erff.c * * Copyright (C) 2015 Brennan Ashton. All rights reserved. @@ -33,18 +33,18 @@ * ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float erff(float x) { diff --git a/libc/math/lib_erfl.c b/libc/math/lib_erfl.c index 594e9183bcf..1ebb736db23 100644 --- a/libc/math/lib_erfl.c +++ b/libc/math/lib_erfl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_erfl.c * * Copyright (C) 2015 Brennan Ashton. All rights reserved. @@ -33,18 +33,18 @@ * ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double erfl(long double x) diff --git a/libc/math/lib_exp.c b/libc/math/lib_exp.c index c07e6783c9c..738bd3f76bc 100644 --- a/libc/math/lib_exp.c +++ b/libc/math/lib_exp.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_exp.c * * This file is a part of NuttX: @@ -23,11 +23,11 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -39,9 +39,9 @@ #ifdef CONFIG_HAVE_DOUBLE -/************************************************************************ +/**************************************************************************** * Private Data - ************************************************************************/ + ****************************************************************************/ static double _dbl_inv_fact[] = { @@ -66,9 +66,9 @@ static double _dbl_inv_fact[] = 1.0 / 6402373705728000.0, /* 1 / 18! */ }; -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ double exp(double x) { diff --git a/libc/math/lib_expf.c b/libc/math/lib_expf.c index eaa9e0d068f..36788b60add 100644 --- a/libc/math/lib_expf.c +++ b/libc/math/lib_expf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_expf.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include "lib_internal.h" -/************************************************************************ +/**************************************************************************** * Private Data - ************************************************************************/ + ****************************************************************************/ static float _flt_inv_fact[] = { @@ -53,9 +53,9 @@ static float _flt_inv_fact[] = 1.0 / 3628800.0, /* 1/10! */ }; -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float expf(float x) { diff --git a/libc/math/lib_expl.c b/libc/math/lib_expl.c index e14eb586d7f..29f30ecd137 100644 --- a/libc/math/lib_expl.c +++ b/libc/math/lib_expl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_expl.c * * This file is a part of NuttX: @@ -23,11 +23,11 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -39,9 +39,9 @@ #ifdef CONFIG_HAVE_LONG_DOUBLE -/************************************************************************ +/**************************************************************************** * Private Data - ************************************************************************/ + ****************************************************************************/ static long double _ldbl_inv_fact[] = { @@ -66,9 +66,9 @@ static long double _ldbl_inv_fact[] = 1.0 / 6402373705728000.0, /* 1 / 18! */ }; -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ long double expl(long double x) { diff --git a/libc/math/lib_fabs.c b/libc/math/lib_fabs.c index 635be443f41..35f98e6818f 100644 --- a/libc/math/lib_fabs.c +++ b/libc/math/lib_fabs.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_fabs.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double fabs(double x) diff --git a/libc/math/lib_fabsf.c b/libc/math/lib_fabsf.c index 629846af3b6..2bee12097df 100644 --- a/libc/math/lib_fabsf.c +++ b/libc/math/lib_fabsf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_fabsf.c * * This file is a part of NuttX: @@ -23,17 +23,17 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float fabsf(float x) { diff --git a/libc/math/lib_fabsl.c b/libc/math/lib_fabsl.c index 0ce73a67446..1762f914168 100644 --- a/libc/math/lib_fabsl.c +++ b/libc/math/lib_fabsl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_fabsl.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double fabsl(long double x) diff --git a/libc/math/lib_floor.c b/libc/math/lib_floor.c index ba6278239c6..f583dfa6b72 100644 --- a/libc/math/lib_floor.c +++ b/libc/math/lib_floor.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_floor.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double floor(double x) diff --git a/libc/math/lib_floorf.c b/libc/math/lib_floorf.c index 63a2fa7221f..4a4ef1a4f7a 100644 --- a/libc/math/lib_floorf.c +++ b/libc/math/lib_floorf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_floorf.c * * This file is a part of NuttX: @@ -23,17 +23,17 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float floorf(float x) { diff --git a/libc/math/lib_floorl.c b/libc/math/lib_floorl.c index 28c7e0029f7..214ade8ee28 100644 --- a/libc/math/lib_floorl.c +++ b/libc/math/lib_floorl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_floorl.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double floorl(long double x) diff --git a/libc/math/lib_fmod.c b/libc/math/lib_fmod.c index 1bdf3134d84..e096d629888 100644 --- a/libc/math/lib_fmod.c +++ b/libc/math/lib_fmod.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_fmod.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double fmod(double x, double div) diff --git a/libc/math/lib_fmodf.c b/libc/math/lib_fmodf.c index ee1b9070c85..ba2d375b8e6 100644 --- a/libc/math/lib_fmodf.c +++ b/libc/math/lib_fmodf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_fmodf.c * * This file is a part of NuttX: @@ -23,17 +23,17 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float fmodf(float x, float div) { diff --git a/libc/math/lib_fmodl.c b/libc/math/lib_fmodl.c index c5b14e85963..f72f2de4d74 100644 --- a/libc/math/lib_fmodl.c +++ b/libc/math/lib_fmodl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_fmodl.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double fmodl(long double x, long double div) diff --git a/libc/math/lib_frexp.c b/libc/math/lib_frexp.c index 3319a6bf37f..12eccadbe74 100644 --- a/libc/math/lib_frexp.c +++ b/libc/math/lib_frexp.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_frexp.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double frexp(double x, int *exponent) diff --git a/libc/math/lib_frexpf.c b/libc/math/lib_frexpf.c index 9cab980fb3b..6ec5aa74425 100644 --- a/libc/math/lib_frexpf.c +++ b/libc/math/lib_frexpf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_frexpf.c * * This file is a part of NuttX: @@ -23,17 +23,17 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float frexpf(float x, int *exponent) { diff --git a/libc/math/lib_frexpl.c b/libc/math/lib_frexpl.c index 627f0e0b5b0..ae2ec4eb73d 100644 --- a/libc/math/lib_frexpl.c +++ b/libc/math/lib_frexpl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_frexpl.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double frexpl(long double x, int *exponent) diff --git a/libc/math/lib_ldexp.c b/libc/math/lib_ldexp.c index 1d6eded8a5d..ac4d23dccbc 100644 --- a/libc/math/lib_ldexp.c +++ b/libc/math/lib_ldexp.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_ldexp.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double ldexp(double x, int n) diff --git a/libc/math/lib_ldexpf.c b/libc/math/lib_ldexpf.c index e1500d77e1b..12503438b8a 100644 --- a/libc/math/lib_ldexpf.c +++ b/libc/math/lib_ldexpf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_ldexpf.c * * This file is a part of NuttX: @@ -23,17 +23,17 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float ldexpf(float x, int n) { diff --git a/libc/math/lib_ldexpl.c b/libc/math/lib_ldexpl.c index cf12370e0b7..da02bf7e606 100644 --- a/libc/math/lib_ldexpl.c +++ b/libc/math/lib_ldexpl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_ldexpl.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double ldexpl(long double x, int n) diff --git a/libc/math/lib_libexpi.c b/libc/math/lib_libexpi.c index 6c26d6b9187..c8f5793d390 100644 --- a/libc/math/lib_libexpi.c +++ b/libc/math/lib_libexpi.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_libexpi.c * * This file is a part of NuttX: @@ -23,11 +23,11 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -35,13 +35,13 @@ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ #define M_E2 (M_E * M_E) #define M_E4 (M_E2 * M_E2) @@ -54,9 +54,9 @@ #define M_E512 (M_E256 * M_E256) #define M_E1024 (M_E512 * M_E512) -/************************************************************************ +/**************************************************************************** * Private Data - ************************************************************************/ + ****************************************************************************/ static double _expi_square_tbl[11] = { @@ -73,9 +73,9 @@ static double _expi_square_tbl[11] = M_E1024, /* e^1024 */ }; -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ double lib_expi(size_t n) { diff --git a/libc/math/lib_libsqrtapprox.c b/libc/math/lib_libsqrtapprox.c index a153f6ed9d4..60db0770ad5 100644 --- a/libc/math/lib_libsqrtapprox.c +++ b/libc/math/lib_libsqrtapprox.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_libsqrtapprox.c * * This file is a part of NuttX: @@ -23,18 +23,18 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float lib_sqrtapprox(float x) { diff --git a/libc/math/lib_log.c b/libc/math/lib_log.c index 764726baec7..8bcfe75bff6 100644 --- a/libc/math/lib_log.c +++ b/libc/math/lib_log.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_log.c * * This file is a part of NuttX: @@ -23,11 +23,11 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -35,9 +35,9 @@ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double log(double x) diff --git a/libc/math/lib_log10.c b/libc/math/lib_log10.c index 321b53f208f..0830bd7e668 100644 --- a/libc/math/lib_log10.c +++ b/libc/math/lib_log10.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_log10.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double log10(double x) diff --git a/libc/math/lib_log10f.c b/libc/math/lib_log10f.c index 3f4ba132817..f0ec9b0589a 100644 --- a/libc/math/lib_log10f.c +++ b/libc/math/lib_log10f.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_log10f.c * * This file is a part of NuttX: @@ -23,17 +23,17 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float log10f(float x) { diff --git a/libc/math/lib_log10l.c b/libc/math/lib_log10l.c index 713e007de6b..69e3e7e9784 100644 --- a/libc/math/lib_log10l.c +++ b/libc/math/lib_log10l.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_log10l.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double log10l(long double x) diff --git a/libc/math/lib_log2.c b/libc/math/lib_log2.c index e929b70cc7d..2e2007796b3 100644 --- a/libc/math/lib_log2.c +++ b/libc/math/lib_log2.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_log2.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double log2(double x) diff --git a/libc/math/lib_log2f.c b/libc/math/lib_log2f.c index 58d291f6c4c..a2d351bb120 100644 --- a/libc/math/lib_log2f.c +++ b/libc/math/lib_log2f.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_log2f.c * * This file is a part of NuttX: @@ -23,17 +23,17 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float log2f(float x) { diff --git a/libc/math/lib_log2l.c b/libc/math/lib_log2l.c index e130fe6c8fa..0b4450a8090 100644 --- a/libc/math/lib_log2l.c +++ b/libc/math/lib_log2l.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_log2l.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double log2l(long double x) diff --git a/libc/math/lib_logf.c b/libc/math/lib_logf.c index cc4f850d0d5..80eff85c3c7 100644 --- a/libc/math/lib_logf.c +++ b/libc/math/lib_logf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_logf.c * * This file is a part of NuttX: @@ -23,18 +23,18 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float logf(float x) { diff --git a/libc/math/lib_logl.c b/libc/math/lib_logl.c index 9426a506abb..c8babc17a86 100644 --- a/libc/math/lib_logl.c +++ b/libc/math/lib_logl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_lol.c * * This file is a part of NuttX: @@ -23,11 +23,11 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -35,9 +35,9 @@ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double logl(long double x) diff --git a/libc/math/lib_modf.c b/libc/math/lib_modf.c index eb56e9c0e66..5c0921997cf 100644 --- a/libc/math/lib_modf.c +++ b/libc/math/lib_modf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_modf.c * * This file is a part of NuttX: @@ -23,18 +23,18 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double modf(double x, double *iptr) diff --git a/libc/math/lib_modff.c b/libc/math/lib_modff.c index 81b799253ea..ad07a4f70c9 100644 --- a/libc/math/lib_modff.c +++ b/libc/math/lib_modff.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_modff.c * * This file is a part of NuttX: @@ -23,17 +23,17 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float modff(float x, float *iptr) { diff --git a/libc/math/lib_modfl.c b/libc/math/lib_modfl.c index f4c30ae051a..45f5f4f8fed 100644 --- a/libc/math/lib_modfl.c +++ b/libc/math/lib_modfl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_modfl.c * * This file is a part of NuttX: @@ -23,11 +23,11 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -35,9 +35,9 @@ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double modfl(long double x, long double *iptr) diff --git a/libc/math/lib_pow.c b/libc/math/lib_pow.c index f8fe18b5ecf..47eb8d12489 100644 --- a/libc/math/lib_pow.c +++ b/libc/math/lib_pow.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_pow.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double pow(double b, double e) diff --git a/libc/math/lib_powf.c b/libc/math/lib_powf.c index 1797324d4f2..b1614a25009 100644 --- a/libc/math/lib_powf.c +++ b/libc/math/lib_powf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_powf.c * * This file is a part of NuttX: @@ -23,17 +23,17 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float powf(float b, float e) { diff --git a/libc/math/lib_powl.c b/libc/math/lib_powl.c index 7d943c58a88..2efb8480153 100644 --- a/libc/math/lib_powl.c +++ b/libc/math/lib_powl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_powl.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double powl(long double b, long double e) diff --git a/libc/math/lib_rint.c b/libc/math/lib_rint.c index d26e1b97361..c424d053652 100644 --- a/libc/math/lib_rint.c +++ b/libc/math/lib_rint.c @@ -1,4 +1,4 @@ -/************************************************************ +/**************************************************************************** * libc/fixedmath/lib_rint.c * * Copyright (C) 2007, 2011, 2014 Gregory Nutt. All rights reserved. @@ -31,15 +31,15 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Compilation Switches - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ #include @@ -47,33 +47,33 @@ #include #include -/************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************/ + ****************************************************************************/ -/********************************************************** +/**************************************************************************** * Public Constant Data - **********************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Public Data - ************************************************************/ + ****************************************************************************/ -/********************************************************** +/**************************************************************************** * Private Constant Data - **********************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Variables - ************************************************************/ + ****************************************************************************/ double rint(double x) { diff --git a/libc/math/lib_rintf.c b/libc/math/lib_rintf.c index cd031688289..f0a329733f4 100644 --- a/libc/math/lib_rintf.c +++ b/libc/math/lib_rintf.c @@ -1,4 +1,4 @@ -/************************************************************ +/**************************************************************************** * libc/fixedmath/lib_rintf.c * * Copyright (C) 2014 Gregory Nutt. All rights reserved. @@ -31,15 +31,15 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Compilation Switches - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ #include @@ -47,33 +47,33 @@ #include #include -/************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************/ + ****************************************************************************/ -/********************************************************** +/**************************************************************************** * Public Constant Data - **********************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Public Data - ************************************************************/ + ****************************************************************************/ -/********************************************************** +/**************************************************************************** * Private Constant Data - **********************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Variables - ************************************************************/ + ****************************************************************************/ float rintf(float x) { diff --git a/libc/math/lib_rintl.c b/libc/math/lib_rintl.c index 92ec28bcea7..439c75566f4 100644 --- a/libc/math/lib_rintl.c +++ b/libc/math/lib_rintl.c @@ -1,4 +1,4 @@ -/************************************************************ +/**************************************************************************** * libc/fixedmath/lib_rint.c * * Copyright (C) 2007, 2011, 2014 Gregory Nutt. All rights reserved. @@ -31,15 +31,15 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Compilation Switches - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ #include @@ -47,33 +47,33 @@ #include #include -/************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************/ + ****************************************************************************/ -/********************************************************** +/**************************************************************************** * Public Constant Data - **********************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Public Data - ************************************************************/ + ****************************************************************************/ -/********************************************************** +/**************************************************************************** * Private Constant Data - **********************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Variables - ************************************************************/ + ****************************************************************************/ long double rintl(long double x) { diff --git a/libc/math/lib_round.c b/libc/math/lib_round.c index 1cf8ba43b84..bc3b332fcc5 100644 --- a/libc/math/lib_round.c +++ b/libc/math/lib_round.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * lib/math/lib_round.c * * This file is a part of NuttX: @@ -6,20 +6,20 @@ * Copyright (C) 2012 Gregory Nutt. All rights reserved. * (C) 2012 Petteri Aimonen * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double round(double x) diff --git a/libc/math/lib_roundf.c b/libc/math/lib_roundf.c index b4c0050c0c1..d85322ddcf3 100644 --- a/libc/math/lib_roundf.c +++ b/libc/math/lib_roundf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * lib/math/lib_roundf.c * * This file is a part of NuttX: @@ -6,20 +6,20 @@ * Copyright (C) 2012 Gregory Nutt. All rights reserved. * (C) 2012 Petteri Aimonen * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float roundf(float x) { diff --git a/libc/math/lib_roundl.c b/libc/math/lib_roundl.c index b75bb61f5bf..d35c38bf094 100644 --- a/libc/math/lib_roundl.c +++ b/libc/math/lib_roundl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * lib/math/lib_round.c * * This file is a part of NuttX: @@ -6,20 +6,20 @@ * Copyright (C) 2012 Gregory Nutt. All rights reserved. * (C) 2012 Petteri Aimonen * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double roundl(long double x) diff --git a/libc/math/lib_sin.c b/libc/math/lib_sin.c index 46d8992f89a..7ff716b059c 100644 --- a/libc/math/lib_sin.c +++ b/libc/math/lib_sin.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_sin.c * * This file is a part of NuttX: @@ -23,11 +23,11 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -37,9 +37,9 @@ #ifdef CONFIG_HAVE_DOUBLE -/************************************************************************ +/**************************************************************************** * Private Data - ************************************************************************/ + ****************************************************************************/ static double _dbl_inv_fact[] = { @@ -55,9 +55,9 @@ static double _dbl_inv_fact[] = 1.0 / 121645100408832000.0, /* 1 / 19! */ }; -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ double sin(double x) { diff --git a/libc/math/lib_sinf.c b/libc/math/lib_sinf.c index ba2a553ebaf..5f17eb212b2 100644 --- a/libc/math/lib_sinf.c +++ b/libc/math/lib_sinf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_sinf.c * * This file is a part of NuttX: @@ -23,18 +23,18 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include -/************************************************************************ +/**************************************************************************** * Private Data - ************************************************************************/ + ****************************************************************************/ static float _flt_inv_fact[] = { @@ -46,9 +46,9 @@ static float _flt_inv_fact[] = 1.0 / 39916800.0, /* 1 / 11! */ }; -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float sinf(float x) { diff --git a/libc/math/lib_sinh.c b/libc/math/lib_sinh.c index 714a52816b7..81e84807b9b 100644 --- a/libc/math/lib_sinh.c +++ b/libc/math/lib_sinh.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_sinh.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double sinh(double x) diff --git a/libc/math/lib_sinhf.c b/libc/math/lib_sinhf.c index b7fc5af13ac..6b27f59508e 100644 --- a/libc/math/lib_sinhf.c +++ b/libc/math/lib_sinhf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_sinhf.c * * This file is a part of NuttX: @@ -23,17 +23,17 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float sinhf(float x) { diff --git a/libc/math/lib_sinhl.c b/libc/math/lib_sinhl.c index b6ee9764e77..ff3aaedb7de 100644 --- a/libc/math/lib_sinhl.c +++ b/libc/math/lib_sinhl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_sinhl.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double sinhl(long double x) diff --git a/libc/math/lib_sinl.c b/libc/math/lib_sinl.c index b288316b14c..dc3df8a4bac 100644 --- a/libc/math/lib_sinl.c +++ b/libc/math/lib_sinl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_sinl.c * * This file is a part of NuttX: @@ -23,11 +23,11 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -37,9 +37,9 @@ #ifdef CONFIG_HAVE_LONG_DOUBLE -/************************************************************************ +/**************************************************************************** * Private Data - ************************************************************************/ + ****************************************************************************/ static long double _ldbl_inv_fact[] = { @@ -55,9 +55,9 @@ static long double _ldbl_inv_fact[] = 1.0 / 121645100408832000.0, /* 1 / 19! */ }; -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ long double sinl(long double x) { diff --git a/libc/math/lib_sqrt.c b/libc/math/lib_sqrt.c index 9190ac42bba..7a3af561c66 100644 --- a/libc/math/lib_sqrt.c +++ b/libc/math/lib_sqrt.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_sqrt.c * * This file is a part of NuttX: @@ -23,11 +23,11 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -37,9 +37,9 @@ #include "lib_internal.h" -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double sqrt(double x) diff --git a/libc/math/lib_sqrtf.c b/libc/math/lib_sqrtf.c index a2089c13f10..0e9a55ac24f 100644 --- a/libc/math/lib_sqrtf.c +++ b/libc/math/lib_sqrtf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_sqrtf.c * * This file is a part of NuttX: @@ -23,11 +23,11 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -37,9 +37,9 @@ #include "lib_internal.h" -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float sqrtf(float x) { diff --git a/libc/math/lib_sqrtl.c b/libc/math/lib_sqrtl.c index 010d36489ca..15280a83f9c 100644 --- a/libc/math/lib_sqrtl.c +++ b/libc/math/lib_sqrtl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_sqrtl.c * * This file is a part of NuttX: @@ -23,11 +23,11 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -37,9 +37,9 @@ #include "lib_internal.h" -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double sqrtl(long double x) diff --git a/libc/math/lib_tan.c b/libc/math/lib_tan.c index 02f4d6b8e88..31cde4cddef 100644 --- a/libc/math/lib_tan.c +++ b/libc/math/lib_tan.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_tan.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double tan(double x) diff --git a/libc/math/lib_tanf.c b/libc/math/lib_tanf.c index 4e0e502d5fa..97ffae017d3 100644 --- a/libc/math/lib_tanf.c +++ b/libc/math/lib_tanf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_tanf.c * * This file is a part of NuttX: @@ -23,17 +23,17 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float tanf(float x) { diff --git a/libc/math/lib_tanh.c b/libc/math/lib_tanh.c index 6bed476e201..e68fcd528c9 100644 --- a/libc/math/lib_tanh.c +++ b/libc/math/lib_tanh.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_tanh.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double tanh(double x) diff --git a/libc/math/lib_tanhf.c b/libc/math/lib_tanhf.c index 15a57bd8b50..70edb57ec4e 100644 --- a/libc/math/lib_tanhf.c +++ b/libc/math/lib_tanhf.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_tanhf.c * * This file is a part of NuttX: @@ -23,17 +23,17 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float tanhf(float x) { diff --git a/libc/math/lib_tanhl.c b/libc/math/lib_tanhl.c index c74ec27caf5..ef2250941c1 100644 --- a/libc/math/lib_tanhl.c +++ b/libc/math/lib_tanhl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_tanhl.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double tanhl(long double x) diff --git a/libc/math/lib_tanl.c b/libc/math/lib_tanl.c index bc32b9b4945..16ebce8a7a9 100644 --- a/libc/math/lib_tanl.c +++ b/libc/math/lib_tanl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/math/lib_tanl.c * * This file is a part of NuttX: @@ -23,20 +23,20 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE long double tanl(long double x) diff --git a/libc/math/lib_trunc.c b/libc/math/lib_trunc.c index 1de0f4b5207..b0a93f45752 100644 --- a/libc/math/lib_trunc.c +++ b/libc/math/lib_trunc.c @@ -26,9 +26,9 @@ * ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -36,9 +36,9 @@ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_DOUBLE double trunc(double x) diff --git a/libc/math/lib_truncf.c b/libc/math/lib_truncf.c index 6093de7334d..73ce7b0ad8c 100644 --- a/libc/math/lib_truncf.c +++ b/libc/math/lib_truncf.c @@ -26,9 +26,9 @@ * ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -36,9 +36,9 @@ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ float truncf(float x) { diff --git a/libc/math/lib_truncl.c b/libc/math/lib_truncl.c index 29f94020636..fce958557c2 100644 --- a/libc/math/lib_truncl.c +++ b/libc/math/lib_truncl.c @@ -26,9 +26,9 @@ * ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -37,9 +37,9 @@ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_DOUBLE static const long double toint = 1 / LDBL_EPSILON; diff --git a/libc/misc/lib_filesem.c b/libc/misc/lib_filesem.c index 1dd88454f87..da52b5ae367 100644 --- a/libc/misc/lib_filesem.c +++ b/libc/misc/lib_filesem.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/misc/lib_filesem.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -49,21 +49,21 @@ #if CONFIG_STDIO_BUFFER_SIZE > 0 -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * lib_sem_initialize - ************************************************************************/ + ****************************************************************************/ void lib_sem_initialize(FAR struct file_struct *stream) { @@ -77,9 +77,9 @@ void lib_sem_initialize(FAR struct file_struct *stream) stream->fs_counts = 0; } -/************************************************************************ +/**************************************************************************** * lib_take_semaphore - ************************************************************************/ + ****************************************************************************/ void lib_take_semaphore(FAR struct file_struct *stream) { @@ -113,9 +113,9 @@ void lib_take_semaphore(FAR struct file_struct *stream) } } -/************************************************************************ +/**************************************************************************** * lib_give_semaphore - ************************************************************************/ + ****************************************************************************/ void lib_give_semaphore(FAR struct file_struct *stream) { diff --git a/libc/misc/lib_sendfile.c b/libc/misc/lib_sendfile.c index 187e689cfd6..4fa19b66a73 100644 --- a/libc/misc/lib_sendfile.c +++ b/libc/misc/lib_sendfile.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/misc/lib_sendfile.c * * Copyright (C) 2007, 2009, 2011, 2013 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -49,27 +49,27 @@ #if CONFIG_NSOCKET_DESCRIPTORS > 0 || CONFIG_NFILE_DESCRIPTORS > 0 -/************************************************************************ +/**************************************************************************** * Private types - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sendfile / lib_sendfile * * Description: @@ -111,7 +111,7 @@ * EINVAL - Bad input parameters. * ENOMEM - Could not allocated an I/O buffer * - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_NET_SENDFILE ssize_t lib_sendfile(int outfd, int infd, off_t *offset, size_t count) diff --git a/libc/misc/lib_streamsem.c b/libc/misc/lib_streamsem.c index 7972a61f326..a403b710287 100644 --- a/libc/misc/lib_streamsem.c +++ b/libc/misc/lib_streamsem.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/misc/lib_streamsem.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -48,25 +48,25 @@ #include "lib_internal.h" -/************************************************************************ +/**************************************************************************** * Private types - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ void stream_semtake(FAR struct streamlist *list) { diff --git a/libc/net/lib_addroute.c b/libc/net/lib_addroute.c index a5d6dd87091..33a8dd0aadf 100644 --- a/libc/net/lib_addroute.c +++ b/libc/net/lib_addroute.c @@ -1,4 +1,4 @@ -/*************************************************************************** +/**************************************************************************** * libc/net/lib_addroute.c * * Copyright (C) 2013 Gregory Nutt. All rights reserved. @@ -31,15 +31,15 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ***************************************************************************/ + ****************************************************************************/ -/*************************************************************************** +/**************************************************************************** * Compilation Switches - ***************************************************************************/ + ****************************************************************************/ -/*************************************************************************** +/**************************************************************************** * Included Files - ***************************************************************************/ + ****************************************************************************/ #include @@ -48,9 +48,9 @@ #include #include -/*************************************************************************** +/**************************************************************************** * Public Functions - ***************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Function: net_addroute diff --git a/libc/net/lib_delroute.c b/libc/net/lib_delroute.c index f508e35afcd..862e8ebcbf7 100644 --- a/libc/net/lib_delroute.c +++ b/libc/net/lib_delroute.c @@ -1,4 +1,4 @@ -/*************************************************************************** +/**************************************************************************** * libc/net/lib_delroute.c * * Copyright (C) 2013 Gregory Nutt. All rights reserved. @@ -31,15 +31,15 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ***************************************************************************/ + ****************************************************************************/ -/*************************************************************************** +/**************************************************************************** * Compilation Switches - ***************************************************************************/ + ****************************************************************************/ -/*************************************************************************** +/**************************************************************************** * Included Files - ***************************************************************************/ + ****************************************************************************/ #include @@ -49,9 +49,9 @@ #include #include -/*************************************************************************** +/**************************************************************************** * Public Functions - ***************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Function: net_delroute diff --git a/libc/net/lib_htonl.c b/libc/net/lib_htonl.c index 919cf2f9d7c..c499a71f1ec 100644 --- a/libc/net/lib_htonl.c +++ b/libc/net/lib_htonl.c @@ -1,4 +1,4 @@ -/************************************************************ +/**************************************************************************** * libc/net/lib_ntohl.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. @@ -31,20 +31,20 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************ +/**************************************************************************** * Public Functions - ************************************************************/ + ****************************************************************************/ uint32_t htonl(uint32_t hl) { diff --git a/libc/net/lib_htons.c b/libc/net/lib_htons.c index c3ff0fd66f2..ce33b879ea3 100644 --- a/libc/net/lib_htons.c +++ b/libc/net/lib_htons.c @@ -1,4 +1,4 @@ -/*************************************************************************** +/**************************************************************************** * libc/net/lib_htons.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. @@ -31,24 +31,24 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ***************************************************************************/ + ****************************************************************************/ -/*************************************************************************** +/**************************************************************************** * Compilation Switches - ***************************************************************************/ + ****************************************************************************/ -/*************************************************************************** +/**************************************************************************** * Included Files - ***************************************************************************/ + ****************************************************************************/ #include #include #include -/*************************************************************************** +/**************************************************************************** * Public Functions - ***************************************************************************/ + ****************************************************************************/ uint16_t htons(uint16_t hs) { diff --git a/libc/sched/sched_getprioritymax.c b/libc/sched/sched_getprioritymax.c index e65c25d603a..03660cbb8d4 100644 --- a/libc/sched/sched_getprioritymax.c +++ b/libc/sched/sched_getprioritymax.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/sched/sched_getprioritymax.c * * Copyright (C) 2007, 2009, 2011, 2015 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -43,11 +43,11 @@ #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: ched_get_priority_max * * Description: @@ -63,7 +63,7 @@ * * Assumptions: * - ************************************************************************/ + ****************************************************************************/ int sched_get_priority_max(int policy) { diff --git a/libc/sched/sched_getprioritymin.c b/libc/sched/sched_getprioritymin.c index 23a06f5d3b6..660677f8ca4 100644 --- a/libc/sched/sched_getprioritymin.c +++ b/libc/sched/sched_getprioritymin.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/sched/sched_getprioritymin.c * * Copyright (C) 2007, 2009, 2011, 2015 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -43,11 +43,11 @@ #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_get_priority_min * * Description: @@ -63,7 +63,7 @@ * * Assumptions: * - ************************************************************************/ + ****************************************************************************/ int sched_get_priority_min(int policy) { diff --git a/libc/stdio/lib_dprintf.c b/libc/stdio/lib_dprintf.c index 0ea64751706..f3f9de8ee54 100644 --- a/libc/stdio/lib_dprintf.c +++ b/libc/stdio/lib_dprintf.c @@ -41,11 +41,11 @@ /**************************************************************************** * Public Functions - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Name: dprintf - **************************************************************************/ + ****************************************************************************/ int dprintf(int fd, FAR const char *fmt, ...) { diff --git a/libc/stdio/lib_fgetc.c b/libc/stdio/lib_fgetc.c index 20ebd41b294..022aed1dcca 100644 --- a/libc/stdio/lib_fgetc.c +++ b/libc/stdio/lib_fgetc.c @@ -60,29 +60,29 @@ * Public Function Prototypes ****************************************************************************/ -/************************************************************************** +/**************************************************************************** * Public Constant Data - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Public Data ****************************************************************************/ -/************************************************************************** +/**************************************************************************** * Private Constant Data - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Private Variables - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Public Functions - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * fgetc - **************************************************************************/ + ****************************************************************************/ int fgetc(FAR FILE *stream) { diff --git a/libc/stdio/lib_fgets.c b/libc/stdio/lib_fgets.c index 47f35597c10..88dfca3ad1a 100644 --- a/libc/stdio/lib_fgets.c +++ b/libc/stdio/lib_fgets.c @@ -65,7 +65,7 @@ * buffer. A null terminator is stored after the last character in the * buffer. * - **************************************************************************/ + ****************************************************************************/ char *fgets(FAR char *buf, int buflen, FILE *stream) { diff --git a/libc/stdio/lib_gets.c b/libc/stdio/lib_gets.c index d15c8bd08a6..f793fbc4452 100644 --- a/libc/stdio/lib_gets.c +++ b/libc/stdio/lib_gets.c @@ -67,7 +67,7 @@ * This API should not be used because it is inherently unsafe. Consider * using fgets which is safer and slightly more efficient. * - **************************************************************************/ + ****************************************************************************/ FAR char *gets(FAR char *s) { diff --git a/libc/stdio/lib_gets_s.c b/libc/stdio/lib_gets_s.c index 54f8891f915..a5a4c50059b 100644 --- a/libc/stdio/lib_gets_s.c +++ b/libc/stdio/lib_gets_s.c @@ -77,7 +77,7 @@ * characters from stdin until new-line character, end-of-file condition, * or read error. * - **************************************************************************/ + ****************************************************************************/ FAR char *gets_s(FAR char *s, rsize_t n) { diff --git a/libc/stdio/lib_libfgets.c b/libc/stdio/lib_libfgets.c index 73cf47adc76..210d273bf35 100644 --- a/libc/stdio/lib_libfgets.c +++ b/libc/stdio/lib_libfgets.c @@ -92,7 +92,7 @@ * 'stream' until an EOF or a newline encountered or until a read error * occurs. * - **************************************************************************/ + ****************************************************************************/ static void consume_eol(FILE *stream, bool consume) { @@ -139,7 +139,7 @@ static void consume_eol(FILE *stream, bool consume) * until a read error occurs. Otherwise, lib_fgets() returns with the * remaining of the incoming stream buffer. * - **************************************************************************/ + ****************************************************************************/ FAR char *lib_fgets(FAR char *buf, size_t buflen, FILE *stream, bool keepnl, bool consume) diff --git a/libc/stdio/lib_printf.c b/libc/stdio/lib_printf.c index 1c210a7c0d8..b38257f2304 100644 --- a/libc/stdio/lib_printf.c +++ b/libc/stdio/lib_printf.c @@ -62,29 +62,29 @@ * Public Function Prototypes ****************************************************************************/ -/************************************************************************** +/**************************************************************************** * Public Constant Data - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Public Data ****************************************************************************/ -/************************************************************************** +/**************************************************************************** * Private Constant Data - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Private Variables - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Public Functions - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Name: printf - **************************************************************************/ + ****************************************************************************/ int printf(FAR const char *fmt, ...) { diff --git a/libc/stdio/lib_ungetc.c b/libc/stdio/lib_ungetc.c index 473262d09f1..c8baf9a2660 100644 --- a/libc/stdio/lib_ungetc.c +++ b/libc/stdio/lib_ungetc.c @@ -64,29 +64,29 @@ * Public Function Prototypes ****************************************************************************/ -/************************************************************************** +/**************************************************************************** * Public Constant Data - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Public Data ****************************************************************************/ -/************************************************************************** +/**************************************************************************** * Private Constant Data - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Private Variables - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Public Functions - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Name: ungetc - **************************************************************************/ + ****************************************************************************/ int ungetc(int c, FAR FILE *stream) { diff --git a/libc/stdio/lib_vprintf.c b/libc/stdio/lib_vprintf.c index 7db042bcf55..52e6fc91074 100644 --- a/libc/stdio/lib_vprintf.c +++ b/libc/stdio/lib_vprintf.c @@ -59,29 +59,29 @@ * Public Function Prototypes ****************************************************************************/ -/************************************************************************** +/**************************************************************************** * Public Constant Data - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Public Data ****************************************************************************/ -/************************************************************************** +/**************************************************************************** * Private Constant Data - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Private Variables - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Public Functions - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Name: vprintf - **************************************************************************/ + ****************************************************************************/ int vprintf(FAR const char *fmt, va_list ap) { diff --git a/libc/stdlib/lib_abort.c b/libc/stdlib/lib_abort.c index 0cbeff3c00e..86bad40726d 100644 --- a/libc/stdlib/lib_abort.c +++ b/libc/stdlib/lib_abort.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/stdlib/lib_abort.c * * Copyright (C) 2007, 2009, 2011-2012 Gregory Nutt. All rights reserved. @@ -31,46 +31,46 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: Abort * * Description: @@ -93,7 +93,7 @@ * Returned Value: * This function does not return, * - ************************************************************************/ + ****************************************************************************/ void abort(void) { diff --git a/libc/stdlib/lib_abs.c b/libc/stdlib/lib_abs.c index 677ea7dfdb8..b3a7854f7c1 100644 --- a/libc/stdlib/lib_abs.c +++ b/libc/stdlib/lib_abs.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/stdlib/lib_abs.c * * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. @@ -31,18 +31,18 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ int abs(int j) { diff --git a/libc/stdlib/lib_div.c b/libc/stdlib/lib_div.c index 03274a1da44..290cc7a1c48 100644 --- a/libc/stdlib/lib_div.c +++ b/libc/stdlib/lib_div.c @@ -31,7 +31,7 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Included Files diff --git a/libc/stdlib/lib_imaxabs.c b/libc/stdlib/lib_imaxabs.c index fca9fe7f03f..12c5dc15a71 100644 --- a/libc/stdlib/lib_imaxabs.c +++ b/libc/stdlib/lib_imaxabs.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/stdlib//lib_abs.c * * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. @@ -31,18 +31,18 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ intmax_t imaxabs(intmax_t j) { diff --git a/libc/stdlib/lib_itoa.c b/libc/stdlib/lib_itoa.c index 4e6b2feec37..16170160aa8 100644 --- a/libc/stdlib/lib_itoa.c +++ b/libc/stdlib/lib_itoa.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/stdlib/lib_itoa.c * * Copyright (C) 2013 Brooks Automation, Inc. All rights reserved. @@ -36,18 +36,18 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ char *itoa(int val, char *str, int base) { diff --git a/libc/stdlib/lib_labs.c b/libc/stdlib/lib_labs.c index 7eef7416316..ad398d0beb7 100644 --- a/libc/stdlib/lib_labs.c +++ b/libc/stdlib/lib_labs.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/stdlib/lib_labs.c * * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. @@ -31,18 +31,18 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ long int labs(long int j) { diff --git a/libc/stdlib/lib_ldiv.c b/libc/stdlib/lib_ldiv.c index 84a4343fd56..66b2a88e3d5 100644 --- a/libc/stdlib/lib_ldiv.c +++ b/libc/stdlib/lib_ldiv.c @@ -36,7 +36,7 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Included Files diff --git a/libc/stdlib/lib_llabs.c b/libc/stdlib/lib_llabs.c index 452b624c3bf..ee8b76225e4 100644 --- a/libc/stdlib/lib_llabs.c +++ b/libc/stdlib/lib_llabs.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/stdlib/lib_llabs.c * * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. @@ -31,19 +31,19 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_HAVE_LONG_LONG long long int llabs(long long int j) diff --git a/libc/stdlib/lib_lldiv.c b/libc/stdlib/lib_lldiv.c index 0c4e4da192c..753cdd93ae7 100644 --- a/libc/stdlib/lib_lldiv.c +++ b/libc/stdlib/lib_lldiv.c @@ -36,7 +36,7 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Included Files diff --git a/libc/string/lib_memcmp.c b/libc/string/lib_memcmp.c index 66acb1fdfb2..a4f5004bfd6 100644 --- a/libc/string/lib_memcmp.c +++ b/libc/string/lib_memcmp.c @@ -1,4 +1,4 @@ -/************************************************************ +/**************************************************************************** * libc/string/lib_memcmp.c * * Copyright (C) 2007, 2011-2012 Gregory Nutt. All rights reserved. @@ -31,23 +31,23 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Compilation Switches - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************ +/**************************************************************************** * Public Functions - ************************************************************/ + ****************************************************************************/ #ifndef CONFIG_ARCH_MEMCMP int memcmp(FAR const void *s1, FAR const void *s2, size_t n) diff --git a/libc/string/lib_memmove.c b/libc/string/lib_memmove.c index 6c37fb22244..8c70998e81d 100644 --- a/libc/string/lib_memmove.c +++ b/libc/string/lib_memmove.c @@ -1,4 +1,4 @@ -/************************************************************ +/**************************************************************************** * libc/string/lib_memmove.c * * Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved. @@ -31,23 +31,23 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Compilation Switches - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************ +/**************************************************************************** * Public Functions - ************************************************************/ + ****************************************************************************/ #ifndef CONFIG_ARCH_MEMMOVE FAR void *memmove(FAR void *dest, FAR const void *src, size_t count) diff --git a/libc/string/lib_stpcpy.c b/libc/string/lib_stpcpy.c index 046846468ef..dd2917f7bc5 100644 --- a/libc/string/lib_stpcpy.c +++ b/libc/string/lib_stpcpy.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/string/lib_strppy.c * * Copyright (C) 2014 Gregory Nutt. All rights reserved. @@ -31,21 +31,21 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: stpcpy * * Description: @@ -56,7 +56,7 @@ * The stpcpy() function returns a pointer to the terminating NUL * character copied into the 'dest' buffer * - ************************************************************************/ + ****************************************************************************/ #ifndef CONFIG_ARCH_STPCPY FAR char *stpcpy(FAR char *dest, FAR const char *src) diff --git a/libc/string/lib_strcpy.c b/libc/string/lib_strcpy.c index efd4f2aca10..f5413688f52 100644 --- a/libc/string/lib_strcpy.c +++ b/libc/string/lib_strcpy.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/string/lib_strcpy.c * * Copyright (C) 2007, 2009, 2011, 2014 Gregory Nutt. All rights reserved. @@ -31,21 +31,21 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: strcpy * * Description: @@ -55,7 +55,7 @@ * Returned value: * The strcpy() function returns the 'dest' pointer * - ************************************************************************/ + ****************************************************************************/ #ifndef CONFIG_ARCH_STRCPY FAR char *strcpy(FAR char *dest, FAR const char *src) diff --git a/libc/string/lib_strdup.c b/libc/string/lib_strdup.c index ee626e184e8..5ba87ae27b9 100644 --- a/libc/string/lib_strdup.c +++ b/libc/string/lib_strdup.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/string//lib_strdup.c * * Copyright (C) 2007, 2009, 2011, 2013 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -43,9 +43,9 @@ #include "lib_internal.h" -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ FAR char *strdup(const char *s) { diff --git a/libc/string/lib_strerror.c b/libc/string/lib_strerror.c index 58724de35c1..00eb2248a2e 100644 --- a/libc/string/lib_strerror.c +++ b/libc/string/lib_strerror.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/string/lib_strerror.c * * Copyright (C) 2007, 2009, 2011-2012 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -43,13 +43,13 @@ #include #include -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Types - ************************************************************************/ + ****************************************************************************/ struct errno_strmap_s { @@ -57,9 +57,9 @@ struct errno_strmap_s const char *str; }; -/************************************************************************ +/**************************************************************************** * Private Data - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_LIBC_STRERROR @@ -334,17 +334,17 @@ static const struct errno_strmap_s g_errnomap[] = #endif /* CONFIG_LIBC_STRERROR */ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: strerror - ************************************************************************/ + ****************************************************************************/ FAR const char *strerror(int errnum) { diff --git a/libc/string/lib_strncat.c b/libc/string/lib_strncat.c index d9deed58b7b..91ebbf608fa 100644 --- a/libc/string/lib_strncat.c +++ b/libc/string/lib_strncat.c @@ -1,4 +1,4 @@ -/************************************************************ +/**************************************************************************** * libc/string/lib_strncat.c * * Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved. @@ -31,19 +31,19 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************ +/**************************************************************************** * Public Functions - ************************************************************/ + ****************************************************************************/ #ifndef CONFIG_ARCH_STRNCAT char *strncat(char *dest, const char *src, size_t n) diff --git a/libc/string/lib_strncpy.c b/libc/string/lib_strncpy.c index 095111c94df..dbafc1c3a17 100644 --- a/libc/string/lib_strncpy.c +++ b/libc/string/lib_strncpy.c @@ -1,4 +1,4 @@ -/************************************************************ +/**************************************************************************** * libc/string/lib_strncpy.c * * Copyright (C) 2007, 2011, 2014 Gregory Nutt. All rights reserved. @@ -31,23 +31,23 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************ +/**************************************************************************** * Public Functions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Name: strncpy - ************************************************************/ + ****************************************************************************/ #ifndef CONFIG_ARCH_STRNCPY char *strncpy(FAR char *dest, FAR const char *src, size_t n) diff --git a/libc/string/lib_strndup.c b/libc/string/lib_strndup.c index bac9128c5dc..1b9d8680670 100644 --- a/libc/string/lib_strndup.c +++ b/libc/string/lib_strndup.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/string//lib_strndup.c * * Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -43,10 +43,10 @@ #include "lib_internal.h" -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ -/************************************************************************ + ****************************************************************************/ +/**************************************************************************** * Name: strndup * * Description: @@ -61,7 +61,7 @@ * character. The newly created string will always be properly * terminated. * - ************************************************************************/ + ****************************************************************************/ FAR char *strndup(FAR const char *s, size_t size) { diff --git a/libc/string/lib_strrchr.c b/libc/string/lib_strrchr.c index 2432853d73b..601f655b431 100644 --- a/libc/string/lib_strrchr.c +++ b/libc/string/lib_strrchr.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * libc/string/lib_strrchr.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. @@ -31,19 +31,19 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ /* The strrchr() function returns a pointer to the last * occurrence of the character c in the string s. diff --git a/libc/string/lib_vikmemcpy.c b/libc/string/lib_vikmemcpy.c index 264b2f2511f..7dbcd331b28 100644 --- a/libc/string/lib_vikmemcpy.c +++ b/libc/string/lib_vikmemcpy.c @@ -57,9 +57,9 @@ #define CONFIG_MEMCPY_INDEXED_COPY -/******************************************************************** +/**************************************************************************** * Included Files - *******************************************************************/ + ****************************************************************************/ #include #include @@ -68,9 +68,9 @@ #include #include -/******************************************************************** +/**************************************************************************** * Pre-processor Definitions - *******************************************************************/ + ****************************************************************************/ /* Can't support CONFIG_MEMCPY_64BIT if the platform does not have 64-bit * integer types. @@ -124,10 +124,10 @@ #endif /* CONFIG_ENDIAN_BIG */ -/******************************************************************** +/**************************************************************************** * Macros for copying words of different alignment. * Uses incremening pointers. - *******************************************************************/ + ****************************************************************************/ #define CP_INCR() \ { \ @@ -142,10 +142,10 @@ INC_VAL(dstN) = dstWord; \ } -/******************************************************************** +/**************************************************************************** * Macros for copying words of different alignment. * Uses array indexes. - *******************************************************************/ + ****************************************************************************/ #define CP_INDEX(idx) \ { \ @@ -160,11 +160,11 @@ dstN[x] = dstWord; \ } -/******************************************************************** +/**************************************************************************** * Macros for copying words of different alignment. * Uses incremening pointers or array indexes depending on * configuration. - *******************************************************************/ + ****************************************************************************/ #if defined (CONFIG_MEMCPY_INDEXED_COPY) @@ -279,9 +279,9 @@ return dest; \ } -/******************************************************************** +/**************************************************************************** * Type Definitions - *******************************************************************/ + ****************************************************************************/ #ifdef CONFIG_MEMCPY_64BIT typedef uint64_t UIntN; @@ -291,10 +291,10 @@ typedef uint32_t UIntN; # define TYPE_WIDTH 4L #endif -/******************************************************************** +/**************************************************************************** * Public Functions - *******************************************************************/ -/******************************************************************** + ****************************************************************************/ +/**************************************************************************** * Name: memcpy * * Description: @@ -308,7 +308,7 @@ typedef uint32_t UIntN; * Returned Value: * A pointer to destination buffer * - *******************************************************************/ + ****************************************************************************/ void *memcpy(void *dest, const void *src, size_t count) { diff --git a/libc/time/lib_gmtime.c b/libc/time/lib_gmtime.c index 487969bab71..bd0addf295a 100644 --- a/libc/time/lib_gmtime.c +++ b/libc/time/lib_gmtime.c @@ -57,17 +57,17 @@ * Private Function Prototypes ****************************************************************************/ -/************************************************************************** +/**************************************************************************** * Public Constant Data - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Public Data ****************************************************************************/ -/************************************************************************** +/**************************************************************************** * Private Variables - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Private Functions diff --git a/libc/time/lib_gmtimer.c b/libc/time/lib_gmtimer.c index c397ae772de..b42d7a7c903 100644 --- a/libc/time/lib_gmtimer.c +++ b/libc/time/lib_gmtimer.c @@ -73,17 +73,17 @@ static void clock_utc2julian(time_t jdn, int *year, int *month, int *day); #endif /* CONFIG_JULIAN_TIME */ #endif /* CONFIG_GREGORIAN_TIME */ -/************************************************************************** +/**************************************************************************** * Public Constant Data - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Public Data ****************************************************************************/ -/************************************************************************** +/**************************************************************************** * Private Variables - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Private Functions diff --git a/mm/kmm_heap/kmm_addregion.c b/mm/kmm_heap/kmm_addregion.c index cccb202699e..47dcbd54fb9 100644 --- a/mm/kmm_heap/kmm_addregion.c +++ b/mm/kmm_heap/kmm_addregion.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * mm/kmm_heap/kmm_addregion.c * * Copyright (C) 2014 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -43,27 +43,27 @@ #ifdef CONFIG_MM_KERNEL_HEAP -/************************************************************************ +/**************************************************************************** * Pre-processor definition - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Types - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: kmm_addregion * * Description: @@ -76,7 +76,7 @@ * Return Value: * None * - ************************************************************************/ + ****************************************************************************/ void kmm_addregion(FAR void *heap_start, size_t heap_size) { diff --git a/mm/kmm_heap/kmm_free.c b/mm/kmm_heap/kmm_free.c index 1b300158b39..7b47fae7b19 100644 --- a/mm/kmm_heap/kmm_free.c +++ b/mm/kmm_heap/kmm_free.c @@ -58,7 +58,7 @@ * Public Functions ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: kmm_free * * Description: @@ -71,7 +71,7 @@ * Return Value: * None * - ************************************************************************/ + ****************************************************************************/ void kmm_free(FAR void *mem) { diff --git a/mm/kmm_heap/kmm_heapmember.c b/mm/kmm_heap/kmm_heapmember.c index d872288721f..3fbe96adcbd 100644 --- a/mm/kmm_heap/kmm_heapmember.c +++ b/mm/kmm_heap/kmm_heapmember.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * mm/kmm_heap/kmm_heapmember.c * * Copyright (C) 2013-2014 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -45,27 +45,27 @@ #if defined(CONFIG_MM_KERNEL_HEAP) && defined(CONFIG_DEBUG) -/************************************************************************ +/**************************************************************************** * Pre-processor definition - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Types - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: kmm_heapmember * * Description: @@ -79,7 +79,7 @@ * not. If the address is not a member of the kernel heap, then it * must be a member of the user-space heap (unchecked) * - ************************************************************************/ + ****************************************************************************/ bool kmm_heapmember(FAR void *mem) { diff --git a/mm/kmm_heap/kmm_initialize.c b/mm/kmm_heap/kmm_initialize.c index ed4cbc926a8..07c679e28b4 100644 --- a/mm/kmm_heap/kmm_initialize.c +++ b/mm/kmm_heap/kmm_initialize.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * mm/kmm_heap/kmm_initialize.c * * Copyright (C) 2013-2014 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -43,31 +43,31 @@ #ifdef CONFIG_MM_KERNEL_HEAP -/************************************************************************ +/**************************************************************************** * Pre-processor definition - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Types - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ /* This is the kernel heap */ struct mm_heap_s g_kmmheap; -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: kmm_initialize * * Description: @@ -81,7 +81,7 @@ struct mm_heap_s g_kmmheap; * Return Value: * None * - ************************************************************************/ + ****************************************************************************/ void kmm_initialize(FAR void *heap_start, size_t heap_size) { diff --git a/mm/kmm_heap/kmm_kernel.c b/mm/kmm_heap/kmm_kernel.c index 4ab8e1b2bc1..f2477e228a2 100644 --- a/mm/kmm_heap/kmm_kernel.c +++ b/mm/kmm_heap/kmm_kernel.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * mm/kmm_heap/kmm_kernel.c * * Copyright (C) 2013-2014 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -46,27 +46,27 @@ #if ((defined(CONFIG_BUILD_PROTECTED) && defined(__KERNEL__)) || \ defined(CONFIG_BUILD_KERNEL)) && defined(CONFIG_MM_KERNEL_HEAP) -/************************************************************************ +/**************************************************************************** * Pre-processor definition - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Types - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: kmm_heapmember * * Description: @@ -80,7 +80,7 @@ * not. If the address is not a member of the kernel heap, then it * must be a member of the user-space heap (unchecked) * - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_DEBUG bool kmm_heapmember(FAR void *mem) diff --git a/mm/kmm_heap/kmm_malloc.c b/mm/kmm_heap/kmm_malloc.c index a92e5e54496..a360c50f8f2 100644 --- a/mm/kmm_heap/kmm_malloc.c +++ b/mm/kmm_heap/kmm_malloc.c @@ -67,7 +67,7 @@ * Public Functions ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: kmm_malloc * * Description: @@ -79,7 +79,7 @@ * Return Value: * The address of the allocated memory (NULL on failure to allocate) * - ************************************************************************/ + ****************************************************************************/ FAR void *kmm_malloc(size_t size) { diff --git a/mm/kmm_heap/kmm_memalign.c b/mm/kmm_heap/kmm_memalign.c index 40327e1d828..1fde19f7e43 100644 --- a/mm/kmm_heap/kmm_memalign.c +++ b/mm/kmm_heap/kmm_memalign.c @@ -57,7 +57,7 @@ * Public Functions ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: kmm_memalign * * Description: @@ -70,7 +70,7 @@ * Return Value: * The address of the re-allocated memory (NULL on failure to allocate) * - ************************************************************************/ + ****************************************************************************/ FAR void *kmm_memalign(size_t alignment, size_t size) { diff --git a/mm/kmm_heap/kmm_sem.c b/mm/kmm_heap/kmm_sem.c index 47fce18d41a..ffff92920f2 100644 --- a/mm/kmm_heap/kmm_sem.c +++ b/mm/kmm_heap/kmm_sem.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * mm/kmm_heap/kmm_sem.c * * Copyright (C) 2014 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -43,27 +43,27 @@ #ifdef CONFIG_MM_KERNEL_HEAP -/************************************************************************ +/**************************************************************************** * Pre-processor definition - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Types - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: kmm_trysemaphore * * Description: @@ -75,14 +75,14 @@ * Return Value: * OK on success; a negated errno on failure * - ************************************************************************/ + ****************************************************************************/ int kmm_trysemaphore(void) { return mm_trysemaphore(&g_kmmheap); } -/************************************************************************ +/**************************************************************************** * Name: kmm_givesemaphore * * Description: @@ -94,7 +94,7 @@ int kmm_trysemaphore(void) * Return Value: * OK on success; a negated errno on failure * - ************************************************************************/ + ****************************************************************************/ void kmm_givesemaphore(void) { diff --git a/mm/kmm_heap/kmm_zalloc.c b/mm/kmm_heap/kmm_zalloc.c index c09f3290457..303d1f0040d 100644 --- a/mm/kmm_heap/kmm_zalloc.c +++ b/mm/kmm_heap/kmm_zalloc.c @@ -51,7 +51,7 @@ * Public Functions ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: kmm_zalloc * * Description: @@ -63,7 +63,7 @@ * Return Value: * The address of the allocated memory (NULL on failure to allocate) * - ************************************************************************/ + ****************************************************************************/ FAR void *kmm_zalloc(size_t size) { diff --git a/mm/umm_heap/umm_addregion.c b/mm/umm_heap/umm_addregion.c index 3aaa890aa23..00e5372ee8b 100644 --- a/mm/umm_heap/umm_addregion.c +++ b/mm/umm_heap/umm_addregion.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * mm/umm_heap/umm_addregion.c * * Copyright (C) 2013-2015 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -43,11 +43,11 @@ #include "umm_heap/umm_heap.h" -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: umm_addregion * * Description: @@ -62,7 +62,7 @@ * Return Value: * None * - ************************************************************************/ + ****************************************************************************/ void umm_addregion(FAR void *heap_start, size_t heap_size) { diff --git a/mm/umm_heap/umm_globals.c b/mm/umm_heap/umm_globals.c index 8242769c0cc..012aac76315 100644 --- a/mm/umm_heap/umm_globals.c +++ b/mm/umm_heap/umm_globals.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * mm/umm_heap/umm_globals.c * * Copyright (C) 2015 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -43,9 +43,9 @@ #include "umm_heap/umm_heap.h" -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ #if defined(CONFIG_ARCH_ADDRENV) && defined(CONFIG_BUILD_KERNEL) /* In the kernel build, there a multiple user heaps; one for each task diff --git a/mm/umm_heap/umm_initialize.c b/mm/umm_heap/umm_initialize.c index f4d319844a6..04e045e0730 100644 --- a/mm/umm_heap/umm_initialize.c +++ b/mm/umm_heap/umm_initialize.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * mm/umm_heap/umm_initialize.c * * Copyright (C) 2013-2015 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -45,11 +45,11 @@ #include "umm_heap/umm_heap.h" -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: umm_initialize * * Description: @@ -92,7 +92,7 @@ * Return Value: * None * - ************************************************************************/ + ****************************************************************************/ void umm_initialize(FAR void *heap_start, size_t heap_size) { diff --git a/mm/umm_heap/umm_malloc.c b/mm/umm_heap/umm_malloc.c index 19dfa89918e..7832af4e293 100644 --- a/mm/umm_heap/umm_malloc.c +++ b/mm/umm_heap/umm_malloc.c @@ -50,7 +50,7 @@ * Public Functions ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: malloc * * Description: @@ -62,7 +62,7 @@ * Return Value: * The address of the allocated memory (NULL on failure to allocate) * - ************************************************************************/ + ****************************************************************************/ FAR void *malloc(size_t size) { diff --git a/mm/umm_heap/umm_sem.c b/mm/umm_heap/umm_sem.c index f8cf11b6c8a..a9012e542c2 100644 --- a/mm/umm_heap/umm_sem.c +++ b/mm/umm_heap/umm_sem.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * mm/umm_heap/umm_sem.c * * Copyright (C) 2013-2015 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -43,11 +43,11 @@ #include "umm_heap/umm_heap.h" -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: umm_trysemaphore * * Description: @@ -61,14 +61,14 @@ * Return Value: * OK on success; a negated errno on failure * - ************************************************************************/ + ****************************************************************************/ int umm_trysemaphore(void) { return mm_trysemaphore(USR_HEAP); } -/************************************************************************ +/**************************************************************************** * Name: umm_givesemaphore * * Description: @@ -82,7 +82,7 @@ int umm_trysemaphore(void) * Return Value: * OK on success; a negated errno on failure * - ************************************************************************/ + ****************************************************************************/ void umm_givesemaphore(void) { diff --git a/mm/umm_heap/umm_zalloc.c b/mm/umm_heap/umm_zalloc.c index 95080427cf6..7103e3233b6 100644 --- a/mm/umm_heap/umm_zalloc.c +++ b/mm/umm_heap/umm_zalloc.c @@ -50,7 +50,7 @@ * Public Functions ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: zalloc * * Description: @@ -62,7 +62,7 @@ * Return Value: * The address of the allocated memory (NULL on failure to allocate) * - ************************************************************************/ + ****************************************************************************/ FAR void *zalloc(size_t size) { diff --git a/sched/clock/clock_getres.c b/sched/clock/clock_getres.c index 656b7945535..4c154ea6f82 100644 --- a/sched/clock/clock_getres.c +++ b/sched/clock/clock_getres.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/clock/clock_getres.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -46,45 +46,45 @@ #include "clock/clock.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ -/********************************************************************** +/**************************************************************************** * Public Constant Data - **********************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/********************************************************************** +/**************************************************************************** * Private Variables - **********************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: clock_getres * * Description: * Clock Functions based on POSIX APIs * - ************************************************************************/ + ****************************************************************************/ int clock_getres(clockid_t clock_id, struct timespec *res) { diff --git a/sched/clock/clock_gettime.c b/sched/clock/clock_gettime.c index 1a92a66bc59..519785d9ea4 100644 --- a/sched/clock/clock_gettime.c +++ b/sched/clock/clock_gettime.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/clock/clock_gettime.c * * Copyright (C) 2007, 2009, 2011, 2014 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -50,45 +50,45 @@ #include "clock/clock.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ -/********************************************************************** +/**************************************************************************** * Public Constant Data - **********************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/********************************************************************** +/**************************************************************************** * Private Variables - **********************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: clock_gettime * * Description: * Clock Functions based on POSIX APIs * - ************************************************************************/ + ****************************************************************************/ int clock_gettime(clockid_t clock_id, struct timespec *tp) { diff --git a/sched/clock/clock_initialize.c b/sched/clock/clock_initialize.c index c1a155707f3..1871e90d2b0 100644 --- a/sched/clock/clock_initialize.c +++ b/sched/clock/clock_initialize.c @@ -72,9 +72,9 @@ * Private Function Prototypes ****************************************************************************/ -/************************************************************************** +/**************************************************************************** * Public Constant Data - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Public Data @@ -90,13 +90,13 @@ volatile uint32_t g_system_timer; struct timespec g_basetime; -/************************************************************************** +/**************************************************************************** * Private Variables - **************************************************************************/ + ****************************************************************************/ -/************************************************************************** +/**************************************************************************** * Private Functions - **************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Name: clock_basetime diff --git a/sched/clock/clock_settime.c b/sched/clock/clock_settime.c index 8d247f0c6cb..3749fa43df7 100644 --- a/sched/clock/clock_settime.c +++ b/sched/clock/clock_settime.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/clock/clock_settime.c * * Copyright (C) 2007, 2009, 2011, 2014 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -49,45 +49,45 @@ #include "clock/clock.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ -/********************************************************************** +/**************************************************************************** * Public Constant Data - **********************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/********************************************************************** +/**************************************************************************** * Private Variables - **********************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: clock_settime * * Description: * Clock Functions based on POSIX APIs * - ************************************************************************/ + ****************************************************************************/ int clock_settime(clockid_t clock_id, FAR const struct timespec *tp) { diff --git a/sched/clock/clock_timespec_add.c b/sched/clock/clock_timespec_add.c index 21688a2b816..f2eae0dac26 100644 --- a/sched/clock/clock_timespec_add.c +++ b/sched/clock/clock_timespec_add.c @@ -48,7 +48,7 @@ * Public Functions ********************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: clock_timespec_add * * Description: @@ -61,7 +61,7 @@ * Return Value: * None * - ************************************************************************/ + ****************************************************************************/ void clock_timespec_add(FAR const struct timespec *ts1, FAR const struct timespec *ts2, diff --git a/sched/clock/clock_timespec_subtract.c b/sched/clock/clock_timespec_subtract.c index 34b07254266..c47ea355622 100644 --- a/sched/clock/clock_timespec_subtract.c +++ b/sched/clock/clock_timespec_subtract.c @@ -48,7 +48,7 @@ * Public Functions ********************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: clock_timespec_subtract * * Description: @@ -62,7 +62,7 @@ * Return Value: * None * - ************************************************************************/ + ****************************************************************************/ void clock_timespec_subtract(FAR const struct timespec *ts1, FAR const struct timespec *ts2, diff --git a/sched/group/group_free.c b/sched/group/group_free.c index b3830e4f7ad..2a4f3097397 100644 --- a/sched/group/group_free.c +++ b/sched/group/group_free.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/group/group_free.c * * Copyright (C) 2014 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -50,38 +50,38 @@ #if (defined(CONFIG_BUILD_PROTECTED) || defined(CONFIG_BUILD_KERNEL)) && \ defined(CONFIG_MM_KERNEL_HEAP) -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: group_free * * Description: * Free memory appropriate previously allocated via group_malloc() using * the appropriate memory manager. * - ************************************************************************/ + ****************************************************************************/ void group_free(FAR struct task_group_s *group, FAR void *mem) { diff --git a/sched/group/group_malloc.c b/sched/group/group_malloc.c index 03c603953ce..f47a6f74aaf 100644 --- a/sched/group/group_malloc.c +++ b/sched/group/group_malloc.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/group/group_malloc.c * * Copyright (C) 2014 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -50,31 +50,31 @@ #if (defined(CONFIG_BUILD_PROTECTED) || defined(CONFIG_BUILD_KERNEL)) && \ defined(CONFIG_MM_KERNEL_HEAP) -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: group_malloc * * Description: @@ -84,7 +84,7 @@ * group and must be allocated so that it accessible by unprivileged * code. * - ************************************************************************/ + ****************************************************************************/ FAR void *group_malloc(FAR struct task_group_s *group, size_t nbytes) { diff --git a/sched/group/group_zalloc.c b/sched/group/group_zalloc.c index e45deaf4b35..23ddea6f8b6 100644 --- a/sched/group/group_zalloc.c +++ b/sched/group/group_zalloc.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/group/group_zalloc.c * * Copyright (C) 2014 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -46,31 +46,31 @@ #if (defined(CONFIG_BUILD_PROTECTED) || defined(CONFIG_BUILD_KERNEL)) && \ defined(CONFIG_MM_KERNEL_HEAP) -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: group_malloc * * Description: @@ -79,7 +79,7 @@ * that it is only accessed by privileged code; Otherwise, it must be * allocated so that it accessible by unprivileged code. * - ************************************************************************/ + ****************************************************************************/ FAR void *group_zalloc(FAR struct task_group_s *group, size_t nbytes) { diff --git a/sched/irq/irq_dispatch.c b/sched/irq/irq_dispatch.c index 98f6f28e3d1..6073c3edf73 100644 --- a/sched/irq/irq_dispatch.c +++ b/sched/irq/irq_dispatch.c @@ -77,7 +77,7 @@ * order to dispatch an interrupt to the appropriate, registered handling * logic. * - ***************************************************************************/ + ****************************************************************************/ void irq_dispatch(int irq, FAR void *context) { diff --git a/sched/mqueue/mq_getattr.c b/sched/mqueue/mq_getattr.c index 9e997dfe36b..3c0725320fe 100644 --- a/sched/mqueue/mq_getattr.c +++ b/sched/mqueue/mq_getattr.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/mqueue/mq_getattr.c * * Copyright (C) 2007, 2009, 2011, 2015 Gregory Nutt. All rights reserved. @@ -31,22 +31,22 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Function: mq_getattr * * Description: @@ -62,7 +62,7 @@ * * Assumptions: * - ************************************************************************/ + ****************************************************************************/ int mq_getattr(mqd_t mqdes, struct mq_attr *mq_stat) { diff --git a/sched/mqueue/mq_initialize.c b/sched/mqueue/mq_initialize.c index 9d98fe41701..ee54e28ce51 100644 --- a/sched/mqueue/mq_initialize.c +++ b/sched/mqueue/mq_initialize.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/mqueue/mq_initialize.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -45,13 +45,13 @@ #include "mqueue/mqueue.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ /* This is a container for a list of message queue descriptors. */ @@ -61,9 +61,9 @@ struct mq_des_block_s struct mq_des mqdes[NUM_MSG_DESCRIPTORS]; }; -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ /* The g_msgfree is a list of messages that are available for general * use. The number of messages in this list is a system configuration @@ -85,9 +85,9 @@ sq_queue_t g_msgfreeirq; sq_queue_t g_desfree; -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ /* g_msgalloc is a pointer to the start of the allocated block of * messages. @@ -105,11 +105,11 @@ static struct mqueue_msg_s *g_msgfreeirqalloc; static sq_queue_t g_desalloc; -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: mq_msgblockalloc * * Description: @@ -118,7 +118,7 @@ static sq_queue_t g_desalloc; * Inputs Parameters: * queue * - ************************************************************************/ + ****************************************************************************/ static struct mqueue_msg_s * mq_msgblockalloc(FAR sq_queue_t *queue, uint16_t nmsgs, @@ -148,11 +148,11 @@ mq_msgblockalloc(FAR sq_queue_t *queue, uint16_t nmsgs, return mqmsgblock; } -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: mq_initialize * * Description: @@ -166,7 +166,7 @@ mq_msgblockalloc(FAR sq_queue_t *queue, uint16_t nmsgs, * Return Value: * None * - ************************************************************************/ + ****************************************************************************/ void mq_initialize(void) { @@ -195,7 +195,7 @@ void mq_initialize(void) mq_desblockalloc(); } -/************************************************************************ +/**************************************************************************** * Name: mq_desblockalloc * * Description: @@ -208,7 +208,7 @@ void mq_initialize(void) * Return Value: * None * - ************************************************************************/ + ****************************************************************************/ void mq_desblockalloc(void) { diff --git a/sched/mqueue/mq_msgfree.c b/sched/mqueue/mq_msgfree.c index 7944e7d1cd3..96e9a955469 100644 --- a/sched/mqueue/mq_msgfree.c +++ b/sched/mqueue/mq_msgfree.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/mqueue/mq_msgfree.c * * Copyright (C) 2007, 2013 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -46,31 +46,31 @@ #include "mqueue/mqueue.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: mq_msgfree * * Description: @@ -84,7 +84,7 @@ * Return Value: * None * - ************************************************************************/ + ****************************************************************************/ void mq_msgfree(FAR struct mqueue_msg_s *mqmsg) { diff --git a/sched/mqueue/mq_msgqfree.c b/sched/mqueue/mq_msgqfree.c index 08360c239ea..85a591502fc 100644 --- a/sched/mqueue/mq_msgqfree.c +++ b/sched/mqueue/mq_msgqfree.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/mqueue/mq_msgqfree.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -43,31 +43,31 @@ #include #include "mqueue/mqueue.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: mq_msgqfree * * Description: @@ -83,7 +83,7 @@ * Return Value: * None * - ************************************************************************/ + ****************************************************************************/ void mq_msgqfree(FAR struct mqueue_inode_s *msgq) { diff --git a/sched/mqueue/mq_notify.c b/sched/mqueue/mq_notify.c index e6efa8a7818..a9a57c3f07c 100644 --- a/sched/mqueue/mq_notify.c +++ b/sched/mqueue/mq_notify.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/mqueue/mq_notify.c * * Copyright (C) 2007, 2009, 2011, 2013 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -49,31 +49,31 @@ #include "sched/sched.h" #include "mqueue/mqueue.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: mq_notify * * Description: @@ -124,7 +124,7 @@ * message shall satisfy mq_receive()... The resulting behavior is as if * the message queue remains empty, and no notification shall be sent." * - ************************************************************************/ + ****************************************************************************/ int mq_notify(mqd_t mqdes, const struct sigevent *notification) { diff --git a/sched/mqueue/mq_receive.c b/sched/mqueue/mq_receive.c index 7db59ebb5e6..173c147a5a4 100644 --- a/sched/mqueue/mq_receive.c +++ b/sched/mqueue/mq_receive.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/mqueue/mq_receive.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -48,31 +48,31 @@ #include "mqueue/mqueue.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: mq_receive * * Description: @@ -110,7 +110,7 @@ * * Assumptions: * - ************************************************************************/ + ****************************************************************************/ ssize_t mq_receive(mqd_t mqdes, FAR char *msg, size_t msglen, FAR int *prio) diff --git a/sched/mqueue/mq_recover.c b/sched/mqueue/mq_recover.c index 667df729073..d4514549fe1 100644 --- a/sched/mqueue/mq_recover.c +++ b/sched/mqueue/mq_recover.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/mqueue/mq_recover.c * * Copyright (C) 2012 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -46,31 +46,31 @@ #include "mqueue/mqueue.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: mq_recover * * Description: @@ -87,7 +87,7 @@ * Assumptions: * This function is called from task deletion logic in a safe context. * - ************************************************************************/ + ****************************************************************************/ void mq_recover(FAR struct tcb_s *tcb) { diff --git a/sched/mqueue/mq_release.c b/sched/mqueue/mq_release.c index 9c0e3409c38..cf9db170afd 100644 --- a/sched/mqueue/mq_release.c +++ b/sched/mqueue/mq_release.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/mqueue/mq_release.c * * Copyright (C) 2013 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -43,31 +43,31 @@ #include "mqueue/mqueue.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: mq_release * * Description: @@ -81,7 +81,7 @@ * Return Value: * None * - ************************************************************************/ + ****************************************************************************/ void mq_release(FAR struct task_group_s *group) { diff --git a/sched/mqueue/mq_setattr.c b/sched/mqueue/mq_setattr.c index 858621a15cf..71fe8df7287 100644 --- a/sched/mqueue/mq_setattr.c +++ b/sched/mqueue/mq_setattr.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/mqueue/mq_setattr.c * * Copyright (C) 2007, 2009, 2011, 2015 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -44,11 +44,11 @@ #include -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Function: mq_setattr * * Description: @@ -71,7 +71,7 @@ * * Assumptions: * - ************************************************************************/ + ****************************************************************************/ int mq_setattr(mqd_t mqdes, const struct mq_attr *mq_stat, struct mq_attr *oldstat) diff --git a/sched/pthread/pthread_cancel.c b/sched/pthread/pthread_cancel.c index 09f3b829fd6..60c2ba6585a 100644 --- a/sched/pthread/pthread_cancel.c +++ b/sched/pthread/pthread_cancel.c @@ -1,4 +1,4 @@ -/************************************************************************** +/**************************************************************************** * sched/pthread/pthread_cancel.c * * Copyright (C) 2007, 2009, 2013 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - **************************************************************************/ + ****************************************************************************/ -/************************************************************************** +/**************************************************************************** * Included Files - **************************************************************************/ + ****************************************************************************/ #include @@ -47,33 +47,33 @@ #include "sched/sched.h" #include "pthread/pthread.h" -/************************************************************************** +/**************************************************************************** * Pre-processor Definitions - **************************************************************************/ + ****************************************************************************/ -/************************************************************************** +/**************************************************************************** * Private Types - **************************************************************************/ + ****************************************************************************/ -/************************************************************************** +/**************************************************************************** * Private Function Prototypes - **************************************************************************/ + ****************************************************************************/ -/************************************************************************** +/**************************************************************************** * Public Data - **************************************************************************/ + ****************************************************************************/ -/************************************************************************** +/**************************************************************************** * Private Variables - **************************************************************************/ + ****************************************************************************/ -/************************************************************************** +/**************************************************************************** * Private Functions - **************************************************************************/ + ****************************************************************************/ -/************************************************************************** +/**************************************************************************** * Public Functions - **************************************************************************/ + ****************************************************************************/ int pthread_cancel(pthread_t thread) { diff --git a/sched/pthread/pthread_completejoin.c b/sched/pthread/pthread_completejoin.c index 6af2774e1b4..ec7bb96af65 100644 --- a/sched/pthread/pthread_completejoin.c +++ b/sched/pthread/pthread_completejoin.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/pthread/pthread_completejoin.c * * Copyright (C) 2007, 2009, 2011, 2013 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -49,27 +49,27 @@ #include "group/group.h" #include "pthread/pthread.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: pthread_notifywaiters * * Description: @@ -77,7 +77,7 @@ * exit data. This must be done by the child at child thread * destruction time. * - ************************************************************************/ + ****************************************************************************/ static bool pthread_notifywaiters(FAR struct join_s *pjoin) { @@ -122,7 +122,7 @@ static bool pthread_notifywaiters(FAR struct join_s *pjoin) return false; } -/************************************************************************ +/**************************************************************************** * Name: pthread_removejoininfo * * Description: @@ -137,7 +137,7 @@ static bool pthread_notifywaiters(FAR struct join_s *pjoin) * Assumptions: * The caller has provided protection from re-entrancy. * - ************************************************************************/ + ****************************************************************************/ static void pthread_removejoininfo(FAR struct task_group_s *group, pid_t pid) @@ -192,11 +192,11 @@ static void pthread_removejoininfo(FAR struct task_group_s *group, } } -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: pthread_completejoin * * Description: @@ -214,7 +214,7 @@ static void pthread_removejoininfo(FAR struct task_group_s *group, * * Assumptions: * - ************************************************************************/ + ****************************************************************************/ int pthread_completejoin(pid_t pid, FAR void *exit_value) { @@ -268,7 +268,7 @@ int pthread_completejoin(pid_t pid, FAR void *exit_value) return OK; } -/************************************************************************ +/**************************************************************************** * Name: pthread_destroyjoin * * Description: @@ -282,7 +282,7 @@ int pthread_completejoin(pid_t pid, FAR void *exit_value) * Assumptions: * The caller holds tg_joinsem * - ************************************************************************/ + ****************************************************************************/ void pthread_destroyjoin(FAR struct task_group_s *group, FAR struct join_s *pjoin) diff --git a/sched/pthread/pthread_detach.c b/sched/pthread/pthread_detach.c index 704a296dc2d..587502cd66d 100644 --- a/sched/pthread/pthread_detach.c +++ b/sched/pthread/pthread_detach.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/pthread/pthread_detach.c * * Copyright (C) 2007, 2009, 2013 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -50,31 +50,31 @@ #include "group/group.h" #include "pthread/pthread.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: pthread_detach * * Description: @@ -93,7 +93,7 @@ * * Assumptions: * - ************************************************************************/ + ****************************************************************************/ int pthread_detach(pthread_t thread) { diff --git a/sched/pthread/pthread_exit.c b/sched/pthread/pthread_exit.c index 03b3f6f2f46..6a8e2463a2c 100644 --- a/sched/pthread/pthread_exit.c +++ b/sched/pthread/pthread_exit.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/pthread/pthread_exit.c * * Copyright (C) 2007, 2009, 2011-2013 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -53,31 +53,31 @@ #include "task/task.h" #include "pthread/pthread.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: pthread_exit * * Description: @@ -91,7 +91,7 @@ * * Assumptions: * - ************************************************************************/ + ****************************************************************************/ void pthread_exit(FAR void *exit_value) { diff --git a/sched/pthread/pthread_findjoininfo.c b/sched/pthread/pthread_findjoininfo.c index 35ea396c337..28174becd81 100644 --- a/sched/pthread/pthread_findjoininfo.c +++ b/sched/pthread/pthread_findjoininfo.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * pthread_findjoininfo.c * * Copyright (C) 2007, 2009, 2013 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -44,31 +44,31 @@ #include "group/group.h" #include "pthread/pthread.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: thread_findjoininfo * * Description: @@ -84,7 +84,7 @@ * Assumptions: * The caller has provided protection from re-entrancy. * - ************************************************************************/ + ****************************************************************************/ FAR struct join_s *pthread_findjoininfo(FAR struct task_group_s *group, pid_t pid) diff --git a/sched/pthread/pthread_getspecific.c b/sched/pthread/pthread_getspecific.c index 6fb0e29debf..34435a2ef41 100644 --- a/sched/pthread/pthread_getspecific.c +++ b/sched/pthread/pthread_getspecific.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/pthread/pthread_getspecific.c * * Copyright (C) 2007, 2009, 2013 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -47,31 +47,31 @@ #include "sched/sched.h" #include "pthread/pthread.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: pthread_getspecific * * Description: @@ -99,7 +99,7 @@ * may be called from a thread-specific data destructor * function. * - ************************************************************************/ + ****************************************************************************/ FAR void *pthread_getspecific(pthread_key_t key) { diff --git a/sched/pthread/pthread_keydelete.c b/sched/pthread/pthread_keydelete.c index 64a633af3ec..7915ed6e3ea 100644 --- a/sched/pthread/pthread_keydelete.c +++ b/sched/pthread/pthread_keydelete.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/pthread/pthread_keydelete.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -45,31 +45,31 @@ #include "pthread/pthread.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: pthread_key_delete * * Description: @@ -87,7 +87,7 @@ * * POSIX Compatibility: * - ************************************************************************/ + ****************************************************************************/ int pthread_key_delete(pthread_key_t key) { diff --git a/sched/pthread/pthread_kill.c b/sched/pthread/pthread_kill.c index 78da939d085..870cb15a411 100644 --- a/sched/pthread/pthread_kill.c +++ b/sched/pthread/pthread_kill.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/pthread/pthread_kill.c * * Copyright (C) 2007, 2009, 2011, 2015 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -50,11 +50,11 @@ #include "sched/sched.h" #include "signal/signal.h" -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: pthread_kill * * Description: @@ -81,7 +81,7 @@ * * Assumptions: * - ************************************************************************/ + ****************************************************************************/ int pthread_kill(pthread_t thread, int signo) { diff --git a/sched/pthread/pthread_release.c b/sched/pthread/pthread_release.c index 86254ef12bd..b06f8d3c9a0 100644 --- a/sched/pthread/pthread_release.c +++ b/sched/pthread/pthread_release.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/pthread/pthread_release.c * * Copyright (C) 2013 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -46,31 +46,31 @@ #include "pthread/pthread.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: pthread_release * * Description: @@ -88,7 +88,7 @@ * * POSIX Compatibility: * - ************************************************************************/ + ****************************************************************************/ void pthread_release(FAR struct task_group_s *group) { diff --git a/sched/pthread/pthread_sigmask.c b/sched/pthread/pthread_sigmask.c index 4789f4aa980..ac541d8f8e6 100644 --- a/sched/pthread/pthread_sigmask.c +++ b/sched/pthread/pthread_sigmask.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/pthread/pthread_sigmask.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -44,31 +44,31 @@ #include #include -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: pthread_sigmask * * Description: @@ -94,7 +94,7 @@ * * Assumptions: * - ************************************************************************/ + ****************************************************************************/ int pthread_sigmask(int how, FAR const sigset_t *set, FAR sigset_t *oset) { diff --git a/sched/pthread/pthread_yield.c b/sched/pthread/pthread_yield.c index c6f5a2a41ac..c5bf47bb539 100644 --- a/sched/pthread/pthread_yield.c +++ b/sched/pthread/pthread_yield.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/pthread/pthread_yield.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. @@ -31,40 +31,40 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: pthread_yield * * Description: @@ -79,7 +79,7 @@ * * Assumptions: * - ************************************************************************/ + ****************************************************************************/ void pthread_yield(void) { diff --git a/sched/sched/sched_addblocked.c b/sched/sched/sched_addblocked.c index af0f043c098..87915f624b5 100644 --- a/sched/sched/sched_addblocked.c +++ b/sched/sched/sched_addblocked.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/sched/sched_addblocked.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -44,31 +44,31 @@ #include "sched/sched.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_addblocked * * Description: @@ -86,7 +86,7 @@ * - The caller has established a critical section before * calling this function. * - ************************************************************************/ + ****************************************************************************/ void sched_addblocked(FAR struct tcb_s *btcb, tstate_t task_state) { diff --git a/sched/sched/sched_addprioritized.c b/sched/sched/sched_addprioritized.c index ad85e7d2dbb..babb31ef0d4 100644 --- a/sched/sched/sched_addprioritized.c +++ b/sched/sched/sched_addprioritized.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/sched/sched_addprioritized.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -46,31 +46,31 @@ #include "sched/sched.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_addprioritized * * Description: @@ -93,7 +93,7 @@ * the head of the task list is changed. * - The caller must set the task_state field of the TCB to * match the state associated with the list. - ************************************************************************/ + ****************************************************************************/ bool sched_addprioritized(FAR struct tcb_s *tcb, DSEG dq_queue_t *list) { diff --git a/sched/sched/sched_cpuload.c b/sched/sched/sched_cpuload.c index cb75a8436d5..aa84ee9603b 100644 --- a/sched/sched/sched_cpuload.c +++ b/sched/sched/sched_cpuload.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/sched/sched_cpuload.c * * Copyright (C) 2014 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -49,9 +49,9 @@ #ifdef CONFIG_SCHED_CPULOAD -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ /* Are we using the system timer, or an external clock? Get the rate * of the sampling in ticks per second for the selected timer. */ @@ -65,17 +65,17 @@ # define CPULOAD_TICKSPERSEC CLOCKS_PER_SEC #endif -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ /* This is the total number of clock tick counts. Essentially the * 'denominator' for all CPU load calculations. @@ -83,15 +83,15 @@ volatile uint32_t g_cpuload_total; -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_process_cpuload * * Description: @@ -107,7 +107,7 @@ volatile uint32_t g_cpuload_total; * This function is called from a timer interrupt handler with all * interrupts disabled. * - ************************************************************************/ + ****************************************************************************/ void weak_function sched_process_cpuload(void) { diff --git a/sched/sched/sched_foreach.c b/sched/sched/sched_foreach.c index 016aef79bf1..64ac8099966 100644 --- a/sched/sched/sched_foreach.c +++ b/sched/sched/sched_foreach.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/sched/sched_foreach.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. @@ -31,20 +31,20 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include "sched/sched.h" -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_foreach * * Description: @@ -61,7 +61,7 @@ * * Assumptions: * - ************************************************************************/ + ****************************************************************************/ void sched_foreach(sched_foreach_t handler, FAR void *arg) { diff --git a/sched/sched/sched_getfiles.c b/sched/sched/sched_getfiles.c index b31999371fe..685f9a44ab2 100644 --- a/sched/sched/sched_getfiles.c +++ b/sched/sched/sched_getfiles.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/sched/sched_getfiles.c * * Copyright (C) 2007, 2009, 2013 Gregory Nutt. All rights reserved. @@ -31,25 +31,25 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include "sched/sched.h" -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_getfiles * * Description: @@ -63,7 +63,7 @@ * * Assumptions: * - ************************************************************************/ + ****************************************************************************/ #if CONFIG_NFILE_DESCRIPTORS > 0 diff --git a/sched/sched/sched_getparam.c b/sched/sched/sched_getparam.c index 2743d9fe79c..93794b7eecf 100644 --- a/sched/sched/sched_getparam.c +++ b/sched/sched/sched_getparam.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/sched/sched_getparam.c * * Copyright (C) 2007, 2009, 2015 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -45,35 +45,35 @@ #include "clock/clock.h" #include "sched/sched.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_getparam * * Description: @@ -95,7 +95,7 @@ * * Assumptions: * - ************************************************************************/ + ****************************************************************************/ int sched_getparam (pid_t pid, FAR struct sched_param *param) { diff --git a/sched/sched/sched_getscheduler.c b/sched/sched/sched_getscheduler.c index 077fc61c80f..8c4bb9de43c 100644 --- a/sched/sched/sched_getscheduler.c +++ b/sched/sched/sched_getscheduler.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/sched/sched_getscheduler.c * * Copyright (C) 2007, 2009, 2015 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -47,35 +47,35 @@ #include "sched/sched.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_getscheduler * * Description: @@ -96,7 +96,7 @@ * * Assumptions: * - ************************************************************************/ + ****************************************************************************/ int sched_getscheduler(pid_t pid) { diff --git a/sched/sched/sched_getsockets.c b/sched/sched/sched_getsockets.c index 764e2ffd215..372f4eeaee4 100644 --- a/sched/sched/sched_getsockets.c +++ b/sched/sched/sched_getsockets.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/sched/sched_getsockets.c * * Copyright (C) 2007, 2009, 2013 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -44,15 +44,15 @@ #if CONFIG_NSOCKET_DESCRIPTORS > 0 -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_getsockets * * Description: @@ -66,7 +66,7 @@ * * Assumptions: * - ************************************************************************/ + ****************************************************************************/ FAR struct socketlist *sched_getsockets(void) { diff --git a/sched/sched/sched_lock.c b/sched/sched/sched_lock.c index fc2887cd1a2..7c1e28a5001 100644 --- a/sched/sched/sched_lock.c +++ b/sched/sched/sched_lock.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/sched/sched_lock.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -45,35 +45,35 @@ #include #include "sched/sched.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functionss - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_lock * * Description: @@ -89,7 +89,7 @@ * Return Value: * OK on success; ERROR on failure * - ************************************************************************/ + ****************************************************************************/ int sched_lock(void) { diff --git a/sched/sched/sched_lockcount.c b/sched/sched/sched_lockcount.c index 5e44c14f606..355f08d902d 100644 --- a/sched/sched/sched_lockcount.c +++ b/sched/sched/sched_lockcount.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/sched/sched_lockcount.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -43,35 +43,35 @@ #include "sched/sched.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functionss - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_lockcount * * Description: @@ -87,7 +87,7 @@ * Return Value: * lockcount * - ************************************************************************/ + ****************************************************************************/ int sched_lockcount(void) { diff --git a/sched/sched/sched_mergepending.c b/sched/sched/sched_mergepending.c index 993a3a00ce1..1a172f91505 100644 --- a/sched/sched/sched_mergepending.c +++ b/sched/sched/sched_mergepending.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/sched/sched_mergepending.c * * Copyright (C) 2007, 2009, 2012 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -46,31 +46,31 @@ #include "sched/sched.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_mergepending * * Description: @@ -90,7 +90,7 @@ * - The caller handles the condition that occurs if the * the head of the sched_mergTSTATE_TASK_PENDINGs is changed. * - ************************************************************************/ + ****************************************************************************/ bool sched_mergepending(void) { diff --git a/sched/sched/sched_processtimer.c b/sched/sched/sched_processtimer.c index 0555cb67dc8..648ea800b3f 100644 --- a/sched/sched/sched_processtimer.c +++ b/sched/sched/sched_processtimer.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/sched/sched_processtimer.c * * Copyright (C) 2007, 2009, 2014-2015 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -50,31 +50,31 @@ #include "wdog/wdog.h" #include "clock/clock.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ #ifndef CONFIG_SCHED_CPULOAD_TIMECONSTANT # define CONFIG_SCHED_CPULOAD_TIMECONSTANT 2 #endif -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_process_scheduler * * Description: @@ -87,7 +87,7 @@ * Return Value: * None * - ************************************************************************/ + ****************************************************************************/ #if CONFIG_RR_INTERVAL > 0 || defined(CONFIG_SCHED_SPORADIC) static inline void sched_process_scheduler(void) @@ -124,19 +124,19 @@ static inline void sched_process_scheduler(void) # define sched_process_scheduler() #endif -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * System Timer Hooks * * These are standard interfaces that are exported by the OS * for use by the architecture specific logic * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_process_timer * * Description: @@ -152,7 +152,7 @@ static inline void sched_process_scheduler(void) * Return Value: * None * - ************************************************************************/ + ****************************************************************************/ void sched_process_timer(void) { diff --git a/sched/sched/sched_releasetcb.c b/sched/sched/sched_releasetcb.c index 79fcb201055..aebf546630e 100644 --- a/sched/sched/sched_releasetcb.c +++ b/sched/sched/sched_releasetcb.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/sched/sched_releasetcb.c * * Copyright (C) 2007, 2009, 2012-2014 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -50,16 +50,16 @@ #include "group/group.h" #include "timer/timer.h" -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_releasepid * * Description: When a task is destroyed, this function must * be called to make its process ID available for re-use. - ************************************************************************/ + ****************************************************************************/ static void sched_releasepid(pid_t pid) { @@ -84,11 +84,11 @@ static void sched_releasepid(pid_t pid) #endif } -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_releasetcb * * Description: @@ -108,7 +108,7 @@ static void sched_releasepid(pid_t pid) * Assumptions: * Interrupts are disabled. * - ************************************************************************/ + ****************************************************************************/ int sched_releasetcb(FAR struct tcb_s *tcb, uint8_t ttype) { diff --git a/sched/sched/sched_removeblocked.c b/sched/sched/sched_removeblocked.c index 944e3fa932b..e09958b848c 100644 --- a/sched/sched/sched_removeblocked.c +++ b/sched/sched/sched_removeblocked.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/sched/sched_removeblocked.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -44,31 +44,31 @@ #include "sched/sched.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_removeblocked * * Description: @@ -85,7 +85,7 @@ * - The caller has established a critical section before * calling this function. * - ************************************************************************/ + ****************************************************************************/ void sched_removeblocked(FAR struct tcb_s *btcb) { diff --git a/sched/sched/sched_roundrobin.c b/sched/sched/sched_roundrobin.c index 0c369dd02ee..8e4ea37f131 100644 --- a/sched/sched/sched_roundrobin.c +++ b/sched/sched/sched_roundrobin.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/sched/sched_roundrobin.c * * Copyright (C) 2007, 2009, 2014-2015 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -51,9 +51,9 @@ #if CONFIG_RR_INTERVAL > 0 -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ #ifndef MIN # define MIN(a,b) (((a) < (b)) ? (a) : (b)) @@ -63,11 +63,11 @@ # define MAX(a,b) (((a) > (b)) ? (a) : (b)) #endif -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_roundrobin_process * * Description: @@ -94,7 +94,7 @@ * - The task associated with TCB uses the round robin scheduling * policy * - ************************************************************************/ + ****************************************************************************/ uint32_t sched_roundrobin_process(FAR struct tcb_s *tcb, uint32_t ticks, bool noswitches) diff --git a/sched/sched/sched_rrgetinterval.c b/sched/sched/sched_rrgetinterval.c index bb8a0152a20..8c54ab00f53 100644 --- a/sched/sched/sched_rrgetinterval.c +++ b/sched/sched/sched_rrgetinterval.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/sched/sched_rrgetinterval.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -48,11 +48,11 @@ #include "sched/sched.h" #include "clock/clock.h" -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_rr_get_interval * * Description: @@ -78,7 +78,7 @@ * * Assumptions: * - ************************************************************************/ + ****************************************************************************/ int sched_rr_get_interval(pid_t pid, struct timespec *interval) { diff --git a/sched/sched/sched_sporadic.c b/sched/sched/sched_sporadic.c old mode 100755 new mode 100644 diff --git a/sched/sched/sched_timerexpiration.c b/sched/sched/sched_timerexpiration.c index 8c223d4cb0e..c765c075cb3 100644 --- a/sched/sched/sched_timerexpiration.c +++ b/sched/sched/sched_timerexpiration.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/sched/sched_timerexpiration.c * * Copyright (C) 2014-2015 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -55,9 +55,9 @@ #ifdef CONFIG_SCHED_TICKLESS -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ /* In the original design, it was planned that sched_timer_reasses() be * called whenever there was a change at the head of the ready-to-run * list. That call was intended to establish a new time-slice or to @@ -87,9 +87,9 @@ # define MAX(a,b) (((a) > (b)) ? (a) : (b)) #endif -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_SCHED_TICKLESS_LIMIT_MAX_SLEEP /* By default, the RTOS tickless logic assumes that range of times that can @@ -108,9 +108,9 @@ uint32_t g_oneshot_maxticks = UINT32_MAX; #endif -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ /* This is the duration of the currently active timer or, when * sched_timer_expiration() is called, the duration of interval timer * that just expired. The value zero means that no timer was active. @@ -133,11 +133,11 @@ static struct timespec g_sched_time; static struct timespec g_stop_time; #endif -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_process_scheduler * * Description: @@ -159,7 +159,7 @@ static struct timespec g_stop_time; * that a context switch is needed now, but cannot be performed because * noswitches == true. * - ************************************************************************/ + ****************************************************************************/ #if CONFIG_RR_INTERVAL > 0 || defined(CONFIG_SCHED_SPORADIC) static inline uint32_t sched_process_scheduler(uint32_t ticks, bool noswitches) @@ -368,9 +368,9 @@ static void sched_timer_start(unsigned int ticks) } } -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Name: sched_alarm_expiration diff --git a/sched/sched/sched_unlock.c b/sched/sched/sched_unlock.c index 6ac0ad49ab4..81b75f0af0e 100644 --- a/sched/sched/sched_unlock.c +++ b/sched/sched/sched_unlock.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/sched/sched_unlock.c * * Copyright (C) 2007, 2009, 2014 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -44,11 +44,11 @@ #include "sched/sched.h" -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sched_unlock * * Description: @@ -59,7 +59,7 @@ * decremented to zero, any tasks that were eligible to preempt the * current task will execute. * - ************************************************************************/ + ****************************************************************************/ int sched_unlock(void) { diff --git a/sched/sched/sched_waitpid.c b/sched/sched/sched_waitpid.c index c612f85edb3..13241bf7805 100644 --- a/sched/sched/sched_waitpid.c +++ b/sched/sched/sched_waitpid.c @@ -274,7 +274,7 @@ errout: return ERROR; } -/*************************************************************************** +/**************************************************************************** * * If CONFIG_SCHED_HAVE_PARENT is defined, then waitpid will use the SIGHCLD * signal. It can also handle the pid == (pid_t)-1 arguement. This is @@ -285,7 +285,7 @@ errout: * lost (or to have the data in the struct siginfo to be overwritten by * the next signal). * - ***************************************************************************/ + ****************************************************************************/ #else pid_t waitpid(pid_t pid, int *stat_loc, int options) diff --git a/sched/signal/sig_allocatependingsigaction.c b/sched/signal/sig_allocatependingsigaction.c index 55f7727cdac..12e65093c55 100644 --- a/sched/signal/sig_allocatependingsigaction.c +++ b/sched/signal/sig_allocatependingsigaction.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/signal/sig_allocatependingsigaction.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -45,37 +45,37 @@ #include "signal/signal.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sig_allocatependingsigaction * * Description: * Allocate a new element for the pending signal action queue * - ************************************************************************/ + ****************************************************************************/ FAR sigq_t *sig_allocatependingsigaction(void) { diff --git a/sched/signal/sig_cleanup.c b/sched/signal/sig_cleanup.c index c0ce3a10d03..862defa5468 100644 --- a/sched/signal/sig_cleanup.c +++ b/sched/signal/sig_cleanup.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/signal/sig_cleanup.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. @@ -31,42 +31,42 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include #include "signal/signal.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sig_cleanup * * Description: @@ -74,7 +74,7 @@ * called only at task deletion time. The caller is expected to have * assured the critical section necessary to perform this action. * - ************************************************************************/ + ****************************************************************************/ void sig_cleanup(FAR struct tcb_s *stcb) { @@ -108,7 +108,7 @@ void sig_cleanup(FAR struct tcb_s *stcb) stcb->sigwaitmask = NULL_SIGNAL_SET; } -/************************************************************************ +/**************************************************************************** * Name: sig_release * * Description: @@ -117,7 +117,7 @@ void sig_cleanup(FAR struct tcb_s *stcb) * expected to have assured the critical section necessary to perform * this action. * - ************************************************************************/ + ****************************************************************************/ void sig_release(FAR struct task_group_s *group) { diff --git a/sched/signal/sig_findaction.c b/sched/signal/sig_findaction.c index 21062ff1026..32616bfd3d8 100644 --- a/sched/signal/sig_findaction.c +++ b/sched/signal/sig_findaction.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/signal/sig_findaction.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. @@ -31,46 +31,46 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include "signal/signal.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sig_findaction * * Description: * Allocate a new element for a signal queue * - ************************************************************************/ + ****************************************************************************/ FAR sigactq_t *sig_findaction(FAR struct tcb_s *stcb, int signo) { diff --git a/sched/signal/sig_initialize.c b/sched/signal/sig_initialize.c index ef217e92d6c..bcdbc23020f 100644 --- a/sched/signal/sig_initialize.c +++ b/sched/signal/sig_initialize.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/signal/sig_initialize.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -45,17 +45,17 @@ #include "signal/signal.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ /* The g_sigfreeaction data structure is a list of available signal * action structures. @@ -88,9 +88,9 @@ sq_queue_t g_sigpendingsignal; sq_queue_t g_sigpendingirqsignal; -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ /* g_sigactionalloc is a pointer to the start of the allocated blocks of * signal actions. @@ -122,27 +122,27 @@ static sigpendq_t *g_sigpendingsignalalloc; static sigpendq_t *g_sigpendingirqsignalalloc; -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ static sigq_t *sig_allocateblock(sq_queue_t *siglist, uint16_t nsigs, uint8_t sigtype); static sigpendq_t *sig_allocatependingsignalblock(sq_queue_t *siglist, uint16_t nsigs, uint8_t sigtype); -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sig_allocateblock * * Description: * Allocate a block of pending signal actions and place them * on the free list. * - ************************************************************************/ + ****************************************************************************/ static sigq_t *sig_allocateblock(sq_queue_t *siglist, uint16_t nsigs, uint8_t sigtype) @@ -165,14 +165,14 @@ static sigq_t *sig_allocateblock(sq_queue_t *siglist, uint16_t nsigs, return sigqalloc; } -/************************************************************************ +/**************************************************************************** * Name: sig_allocatependingsignalblock * * Description: * Allocate a block of pending signal structures and place them on * the free list. * - ************************************************************************/ + ****************************************************************************/ static sigpendq_t *sig_allocatependingsignalblock(sq_queue_t *siglist, uint16_t nsigs, uint8_t sigtype) @@ -196,17 +196,17 @@ static sigpendq_t *sig_allocatependingsignalblock(sq_queue_t *siglist, return sigpendalloc; } -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sig_initialize * * Description: * Perform one-time power-up initialization * - ************************************************************************/ + ****************************************************************************/ void sig_initialize(void) { @@ -243,14 +243,14 @@ void sig_initialize(void) SIG_ALLOC_IRQ); } -/************************************************************************ +/**************************************************************************** * Name: sig_allocateactionblock * * Description: * Allocate a block of signal actions and place them * on the free list. * - ************************************************************************/ + ****************************************************************************/ void sig_allocateactionblock(void) { diff --git a/sched/signal/sig_kill.c b/sched/signal/sig_kill.c index b0ef01dacbb..08416f3a3e8 100644 --- a/sched/signal/sig_kill.c +++ b/sched/signal/sig_kill.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/signal/sig_kill.c * * Copyright (C) 2007, 2009, 2011, 2013, 2015 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -47,11 +47,11 @@ #include "sched/sched.h" #include "signal/signal.h" -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: kill * * Description: @@ -80,7 +80,7 @@ * * Assumptions: * - ************************************************************************/ + ****************************************************************************/ int kill(pid_t pid, int signo) { diff --git a/sched/signal/sig_lowest.c b/sched/signal/sig_lowest.c index 76f2d04c043..9f8b6d51799 100644 --- a/sched/signal/sig_lowest.c +++ b/sched/signal/sig_lowest.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/signal/sig_lowest.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -43,37 +43,37 @@ #include "signal/signal.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sig_lowest * * Description: * Return the lowest signal number that is a member of a set of signals. * - ************************************************************************/ + ****************************************************************************/ int sig_lowest(sigset_t *set) { diff --git a/sched/signal/sig_releasependingsigaction.c b/sched/signal/sig_releasependingsigaction.c index b7d80d1c2ee..688af823ddb 100644 --- a/sched/signal/sig_releasependingsigaction.c +++ b/sched/signal/sig_releasependingsigaction.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/signal/sig_releasependingsigaction.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -43,37 +43,37 @@ #include "signal/signal.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sig_releasependingsigaction * * Description: * Deallocate a pending signal action Q entry * - ************************************************************************/ + ****************************************************************************/ void sig_releasependingsigaction(FAR sigq_t *sigq) { diff --git a/sched/signal/sig_releasependingsignal.c b/sched/signal/sig_releasependingsignal.c index 88ec8297a70..a6090850c0e 100644 --- a/sched/signal/sig_releasependingsignal.c +++ b/sched/signal/sig_releasependingsignal.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/signal/sig_releasependingsignal.c * * Copyright (C) 2007, 2009, 2014 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -52,37 +52,37 @@ #include "signal/signal.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sig_releasependingsignal * * Description: * Deallocate a pending signal list entry * - ************************************************************************/ + ****************************************************************************/ void sig_releasependingsignal(FAR sigpendq_t *sigpend) { diff --git a/sched/signal/sig_removependingsignal.c b/sched/signal/sig_removependingsignal.c index 299babbc39f..e8fdac9112d 100644 --- a/sched/signal/sig_removependingsignal.c +++ b/sched/signal/sig_removependingsignal.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/signal/sig_removependingsignal.c * * Copyright (C) 2007, 2009, 2013-2014 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -52,37 +52,37 @@ #include "signal/signal.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sig_removependingsignal * * Description: * Remove the specified signal from the signal pending list * - ************************************************************************/ + ****************************************************************************/ FAR sigpendq_t *sig_removependingsignal(FAR struct tcb_s *stcb, int signo) { diff --git a/sched/signal/sig_unmaskpendingsignal.c b/sched/signal/sig_unmaskpendingsignal.c index 01bf2403e15..a6df2fa19a0 100644 --- a/sched/signal/sig_unmaskpendingsignal.c +++ b/sched/signal/sig_unmaskpendingsignal.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/signal/sig_unmaskpendingsignal.c * * Copyright (C) 2007, 2009, 2013 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -44,31 +44,31 @@ #include "sched/sched.h" #include "signal/signal.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: sig_unmaskpendingsignal * * Description: @@ -76,7 +76,7 @@ * unmasks and processes any pending signals. This function should * be called whenever the sigprocmask is changed. * - ************************************************************************/ + ****************************************************************************/ void sig_unmaskpendingsignal(void) { diff --git a/sched/task/task_getpid.c b/sched/task/task_getpid.c index 058fd708928..e1400d6bfd6 100644 --- a/sched/task/task_getpid.c +++ b/sched/task/task_getpid.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/task/task_getpid.c * * Copyright (C) 2007, 2009, 2014 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include #include @@ -44,37 +44,37 @@ #include "sched/sched.h" #include "task/task.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Variables - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Function Prototypes - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: getpid * * Description: * Get the task ID of the currently executing task. * - ************************************************************************/ + ****************************************************************************/ pid_t getpid(void) { diff --git a/sched/task/task_prctl.c b/sched/task/task_prctl.c index 5bbac6b9f95..b89c578709f 100644 --- a/sched/task/task_prctl.c +++ b/sched/task/task_prctl.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/task/task_prctl.c * * Copyright (C) 2012-2013 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -50,13 +50,13 @@ #include "sched/sched.h" #include "task/task.h" -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ /**************************************************************************** * Name: prctl diff --git a/sched/wdog/wd_initialize.c b/sched/wdog/wd_initialize.c index bd3f9644c10..b745c19b66e 100644 --- a/sched/wdog/wd_initialize.c +++ b/sched/wdog/wd_initialize.c @@ -1,4 +1,4 @@ -/************************************************************************ +/**************************************************************************** * sched/wdog/wd_initialize.c * * Copyright (C) 2007, 2009, 2014 Gregory Nutt. All rights reserved. @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Included Files - ************************************************************************/ + ****************************************************************************/ #include @@ -43,17 +43,17 @@ #include "wdog/wdog.h" -/************************************************************************ +/**************************************************************************** * Pre-processor Definitions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Data - ************************************************************************/ + ****************************************************************************/ /* The g_wdfreelist data structure is a singly linked list of watchdogs * available to the system for delayed function use. @@ -75,9 +75,9 @@ sq_queue_t g_wdactivelist; uint16_t g_wdnfree; -/************************************************************************ +/**************************************************************************** * Private Data - ************************************************************************/ + ****************************************************************************/ /* g_wdpool is a list of pre-allocated watchdogs. The number of watchdogs * in the pool is a configuration item. @@ -85,15 +85,15 @@ uint16_t g_wdnfree; static struct wdog_s g_wdpool[CONFIG_PREALLOC_WDOGS]; -/************************************************************************ +/**************************************************************************** * Private Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Public Functions - ************************************************************************/ + ****************************************************************************/ -/************************************************************************ +/**************************************************************************** * Name: wd_initialize * * Description: @@ -110,7 +110,7 @@ static struct wdog_s g_wdpool[CONFIG_PREALLOC_WDOGS]; * before the timer interrupt is attached and before any watchdog * services are used. * - ************************************************************************/ + ****************************************************************************/ void wd_initialize(void) {