Skip to content

Commit 0c84933

Browse files
actions-userEmil Popov
authored andcommitted
Uncrustify: triggered by comment.
1 parent 6f1efff commit 0c84933

File tree

1 file changed

+28
-27
lines changed

1 file changed

+28
-27
lines changed

source/FreeRTOS_Sockets.c

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -372,11 +372,11 @@ static int32_t prvSendTo_ActualSend( const FreeRTOS_Socket_t * pxSocket,
372372
#endif
373373

374374
#if ( ipconfigSUPPORT_IP_MULTICAST != 0 )
375-
static BaseType_t prvSetMulticastSocketOption( Socket_t xSocket,
376-
int32_t lLevel,
377-
int32_t lOptionName,
378-
const void * pvOptionValue,
379-
size_t uxOptionLength );
375+
static BaseType_t prvSetMulticastSocketOption( Socket_t xSocket,
376+
int32_t lLevel,
377+
int32_t lOptionName,
378+
const void * pvOptionValue,
379+
size_t uxOptionLength );
380380
#endif /* ( ipconfigSUPPORT_IP_MULTICAST != 0 ) */
381381

382382
/*-----------------------------------------------------------*/
@@ -6373,32 +6373,33 @@ void * pvSocketGetSocketID( const ConstSocket_t xSocket )
63736373
}
63746374

63756375
#endif /* ipconfigSUPPORT_SELECT_FUNCTION */
6376-
6376+
63776377
#endif /* 0 */
63786378

63796379
#if ( ipconfigSUPPORT_IP_MULTICAST != 0 )
6380-
/**
6381-
* @brief Set the multicast-specific socket options for the given socket.
6382-
* This is an internal function that should only get called from
6383-
* FreeRTOS_setsockopt() in an attempt to keep the FreeRTOS_setsockopt()
6384-
* function clean.
6385-
*
6386-
* @param[in] xSocket: The socket for which the options are to be set.
6387-
* @param[in] lLevel: Not used. Parameter is used to maintain the Berkeley sockets
6388-
* standard.
6389-
* @param[in] lOptionName: The name of the option to be set.
6390-
* @param[in] pvOptionValue: The value of the option to be set.
6391-
* @param[in] uxOptionLength: Not used. Parameter is used to maintain the Berkeley
6392-
* sockets standard.
6393-
*
6394-
* @return If the option can be set with the given value, then 0 is returned. Else,
6395-
* an error code is returned.
6396-
*/
6380+
6381+
/**
6382+
* @brief Set the multicast-specific socket options for the given socket.
6383+
* This is an internal function that should only get called from
6384+
* FreeRTOS_setsockopt() in an attempt to keep the FreeRTOS_setsockopt()
6385+
* function clean.
6386+
*
6387+
* @param[in] xSocket: The socket for which the options are to be set.
6388+
* @param[in] lLevel: Not used. Parameter is used to maintain the Berkeley sockets
6389+
* standard.
6390+
* @param[in] lOptionName: The name of the option to be set.
6391+
* @param[in] pvOptionValue: The value of the option to be set.
6392+
* @param[in] uxOptionLength: Not used. Parameter is used to maintain the Berkeley
6393+
* sockets standard.
6394+
*
6395+
* @return If the option can be set with the given value, then 0 is returned. Else,
6396+
* an error code is returned.
6397+
*/
63976398
static BaseType_t prvSetMulticastSocketOption( Socket_t xSocket,
6398-
int32_t lLevel,
6399-
int32_t lOptionName,
6400-
const void * pvOptionValue,
6401-
size_t uxOptionLength )
6399+
int32_t lLevel,
6400+
int32_t lOptionName,
6401+
const void * pvOptionValue,
6402+
size_t uxOptionLength )
64026403
{
64036404
BaseType_t xReturn = -pdFREERTOS_ERRNO_EINVAL;
64046405
FreeRTOS_Socket_t * pxSocket;

0 commit comments

Comments
 (0)