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

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


The following commit(s) were added to refs/heads/master by this push:
     new 0a40287b13 libs/libc/pthread: Fix nxstyle errors
0a40287b13 is described below

commit 0a40287b137d1d0766642449b43929355cb705eb
Author: simbit18 <[email protected]>
AuthorDate: Fri May 12 14:47:07 2023 +0200

    libs/libc/pthread: Fix nxstyle errors
    
    error: Long line found
---
 libs/libc/pthread/pthread_condattr_getpshared.c | 19 ++++++-------
 libs/libc/pthread/pthread_condattr_setpshared.c | 36 ++++++++++++-------------
 2 files changed, 28 insertions(+), 27 deletions(-)

diff --git a/libs/libc/pthread/pthread_condattr_getpshared.c 
b/libs/libc/pthread/pthread_condattr_getpshared.c
index 5667a19ca4..4f85ff0d74 100644
--- a/libs/libc/pthread/pthread_condattr_getpshared.c
+++ b/libs/libc/pthread/pthread_condattr_getpshared.c
@@ -1,4 +1,4 @@
-/********************************************************************************
+/****************************************************************************
  * libs/libc/pthread/pthread_condattr_getpshared.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,11 +16,11 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- 
********************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************
+/****************************************************************************
  * Included Files
- 
********************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
@@ -28,11 +28,11 @@
 #include <errno.h>
 #include <debug.h>
 
-/********************************************************************************
+/****************************************************************************
  * Public Functions
- 
********************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************
+/****************************************************************************
  * Name: pthread_condattr_getpshared
  *
  * Description:
@@ -41,14 +41,15 @@
  *
  * Input Parameters:
  *   attr - cond attributes to be queried.
- *   pshared - the location to stored the current value of the pshared 
attribute.
+ *   pshared - the location to stored the current value of the
+ *   pshared attribute.
  *
  * Returned Value:
  *   0 (OK) on success or EINVAL if either attr or pshared is invalid.
  *
  * Assumptions:
  *
- 
********************************************************************************/
+ ****************************************************************************/
 
 int pthread_condattr_getpshared(FAR const pthread_condattr_t *attr,
                                 FAR int *pshared)
diff --git a/libs/libc/pthread/pthread_condattr_setpshared.c 
b/libs/libc/pthread/pthread_condattr_setpshared.c
index a5a17cadbe..2e589a7d4f 100644
--- a/libs/libc/pthread/pthread_condattr_setpshared.c
+++ b/libs/libc/pthread/pthread_condattr_setpshared.c
@@ -1,4 +1,4 @@
-/********************************************************************************
+/****************************************************************************
  * libs/libc/pthread/pthread_condattr_setpshared.c
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,11 +16,11 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- 
********************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************
+/****************************************************************************
  * Included Files
- 
********************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
@@ -28,31 +28,31 @@
 #include <errno.h>
 #include <debug.h>
 
-/********************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- 
********************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************
+/****************************************************************************
  * Private Type Declarations
- 
********************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************
+/****************************************************************************
  * Public Data
- 
********************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************
+/****************************************************************************
  * Private Data
- 
********************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************
+/****************************************************************************
  * Private Function Prototypes
- 
********************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************
+/****************************************************************************
  * Public Functions
- 
********************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************
+/****************************************************************************
  * Name: pthread_condattr_setpshared
  *
  * Description:
@@ -79,7 +79,7 @@
  *
  * Assumptions:
  *
- 
********************************************************************************/
+ ****************************************************************************/
 
 int pthread_condattr_setpshared(FAR pthread_condattr_t *attr, int pshared)
 {

Reply via email to