Skip to content

Commit adabaad

Browse files
committed
Fix spelling & formatting
1 parent 88e51a7 commit adabaad

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

source/include/FreeRTOS_IP.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,9 @@ size_t FreeRTOS_min_size_t( size_t a,
276276
size_t b );
277277

278278
int32_t FreeRTOS_add_int32( int32_t a,
279-
int32_t b );
279+
int32_t b );
280280
int32_t FreeRTOS_multiply_int32( int32_t a,
281-
int32_t b );
281+
int32_t b );
282282

283283
uint32_t FreeRTOS_round_up( uint32_t a,
284284
uint32_t d );

source/include/FreeRTOS_TCP_IP.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -96,26 +96,26 @@ typedef enum eTCP_STATE
9696
/*
9797
* A few values of the TCP options:
9898
*/
99-
#define tcpTCP_OPT_END 0U /**< End of TCP options list. */
100-
#define tcpTCP_OPT_NOOP 1U /**< "No-operation" TCP option. */
101-
#define tcpTCP_OPT_MSS 2U /**< Maximum segment size TCP option. */
102-
#define tcpTCP_OPT_WSOPT 3U /**< TCP Window Scale Option (3-byte long). */
103-
#define tcpTCP_OPT_SACK_P 4U /**< Advertise that SACK is permitted. */
104-
#define tcpTCP_OPT_SACK_A 5U /**< SACK option with first/last. */
105-
#define tcpTCP_OPT_TIMESTAMP 8U /**< Time-stamp option. */
99+
#define tcpTCP_OPT_END 0U /**< End of TCP options list. */
100+
#define tcpTCP_OPT_NOOP 1U /**< "No-operation" TCP option. */
101+
#define tcpTCP_OPT_MSS 2U /**< Maximum segment size TCP option. */
102+
#define tcpTCP_OPT_WSOPT 3U /**< TCP Window Scale Option (3-byte long). */
103+
#define tcpTCP_OPT_SACK_P 4U /**< Advertise that SACK is permitted. */
104+
#define tcpTCP_OPT_SACK_A 5U /**< SACK option with first/last. */
105+
#define tcpTCP_OPT_TIMESTAMP 8U /**< Time-stamp option. */
106106

107107

108-
#define tcpTCP_OPT_MSS_LEN 4U /**< Length of TCP MSS option. */
109-
#define tcpTCP_OPT_WSOPT_LEN 3U /**< Length of TCP WSOPT option. */
110-
#define tcpTCP_OPT_WSOPT_MAXIMUM_VALUE ( 14U ) /**< Maximum value of TCP WSOPT option. */
108+
#define tcpTCP_OPT_MSS_LEN 4U /**< Length of TCP MSS option. */
109+
#define tcpTCP_OPT_WSOPT_LEN 3U /**< Length of TCP WSOPT option. */
110+
#define tcpTCP_OPT_WSOPT_MAXIMUM_VALUE ( 14U ) /**< Maximum value of TCP WSOPT option. */
111111

112-
#define tcpTCP_OPT_TIMESTAMP_LEN 10 /**< fixed length of the time-stamp option. */
112+
#define tcpTCP_OPT_TIMESTAMP_LEN 10 /**< fixed length of the time-stamp option. */
113113

114114
/** @brief
115115
* Minimum segment length as outlined by RFC 791 section 3.1.
116116
* Minimum segment length ( 536 ) = Minimum MTU ( 576 ) - IP Header ( 20 ) - TCP Header ( 20 ).
117117
*/
118-
#define tcpMINIMUM_SEGMENT_LENGTH 536U
118+
#define tcpMINIMUM_SEGMENT_LENGTH 536U
119119

120120
/** @brief
121121
* The macro tcpNOW_CONNECTED() is use to determine if the connection makes a

test/cbmc/proofs/DHCP/DHCPProcess/DHCPProcess_harness.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ void harness()
183183
BaseType_t xReset;
184184
eDHCPState_t eExpectedState;
185185

186-
/* The only possibility of making xDHCPSocketUserCount overflow is having more than BaseType_t enpoints, which is assumed not possible here. */
186+
/* The only possibility of making xDHCPSocketUserCount overflow is having more than BaseType_t endpoints, which is assumed not possible here. */
187187
__CPROVER_assume( xDHCPSocketUserCount >= 0 && xDHCPSocketUserCount <= ENDPOINT_DNS_ADDRESS_COUNT );
188188

189189
pxNetworkEndPoints = ( NetworkEndPoint_t * ) safeMalloc( sizeof( NetworkEndPoint_t ) );

test/cbmc/proofs/DHCP/DHCPProcessEndPoint/DHCPProcessEndPoint_harness.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ void harness()
185185
BaseType_t xReset;
186186
BaseType_t xDoCheck;
187187

188-
/* The only possibility of making xDHCPSocketUserCount overflow is having more than BaseType_t enpoints, which is assumed not possible here. */
188+
/* The only possibility of making xDHCPSocketUserCount overflow is having more than BaseType_t endpoints, which is assumed not possible here. */
189189
__CPROVER_assume( xDHCPSocketUserCount >= 0 && xDHCPSocketUserCount <= ENDPOINT_DNS_ADDRESS_COUNT );
190190

191191
pxNetworkEndPoints = ( NetworkEndPoint_t * ) safeMalloc( sizeof( NetworkEndPoint_t ) );

0 commit comments

Comments
 (0)