You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/01/26 13:12:21 UTC

[incubator-nuttx] 12/13: include: nuttx: lib: nxstyle fixes

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 95ed9fc576ebaf7f20e43441352a598ed5da4125
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Tue Jan 26 11:33:08 2021 +0100

    include: nuttx: lib: nxstyle fixes
    
    Nxstyle fixes to pass CI
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 include/nuttx/lib/float.h  | 3 ++-
 include/nuttx/lib/math32.h | 3 ++-
 include/nuttx/lib/modlib.h | 4 +++-
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/include/nuttx/lib/float.h b/include/nuttx/lib/float.h
index a3ef2d2..d9b0a3f 100644
--- a/include/nuttx/lib/float.h
+++ b/include/nuttx/lib/float.h
@@ -4,7 +4,8 @@
  *   Copyright (C) 2012, 2016 Gregory Nutt. All rights reserved.
  *   Author: Gregory Nutt <gn...@nuttx.org>
  *
- * Reference: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/float.h.html
+ * Reference:
+ * http://pubs.opengroup.org/onlinepubs/009695399/basedefs/float.h.html
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
diff --git a/include/nuttx/lib/math32.h b/include/nuttx/lib/math32.h
index ba70f31..a62c3d5 100644
--- a/include/nuttx/lib/math32.h
+++ b/include/nuttx/lib/math32.h
@@ -198,7 +198,8 @@ void usub64(FAR const struct uint64_s *minuend,
  *
  ****************************************************************************/
 
-void umul32(uint32_t factor1, uint32_t factor2, FAR struct uint64_s *product);
+void umul32(uint32_t factor1, uint32_t factor2,
+            FAR struct uint64_s *product);
 
 /****************************************************************************
  * Name: umul32x64
diff --git a/include/nuttx/lib/modlib.h b/include/nuttx/lib/modlib.h
index 1460fff..d76dfee 100644
--- a/include/nuttx/lib/modlib.h
+++ b/include/nuttx/lib/modlib.h
@@ -155,7 +155,9 @@ struct mod_info_s
 
 typedef CODE int (*mod_initializer_t)(FAR struct mod_info_s *modinfo);
 
-/* This is the type of the callback function used by modlib_registry_foreach() */
+/* This is the type of the callback function used by
+ * modlib_registry_foreach()
+ */
 
 struct module_s;
 typedef CODE int (*mod_callback_t)(FAR struct module_s *modp, FAR void *arg);