libs/libc/pthread: Fix nxstyle errors

error: Long line found
This commit is contained in:
simbit18 2023-05-12 14:47:07 +02:00 committed by Petro Karashchenko
parent 06a10202af
commit 0a40287b13
2 changed files with 28 additions and 27 deletions

View File

@ -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)

View File

@ -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)
{