From 0a40287b137d1d0766642449b43929355cb705eb Mon Sep 17 00:00:00 2001 From: simbit18 <101105604+simbit18@users.noreply.github.com> Date: Fri, 12 May 2023 14:47:07 +0200 Subject: [PATCH] libs/libc/pthread: Fix nxstyle errors error: Long line found --- .../pthread/pthread_condattr_getpshared.c | 19 +++++----- .../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 @@ -28,11 +28,11 @@ #include #include -/******************************************************************************** +/**************************************************************************** * 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 @@ -28,31 +28,31 @@ #include #include -/******************************************************************************** +/**************************************************************************** * 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) {