Skip to content

Commit 90e188b

Browse files
committed
fix a style convention
1 parent b91836a commit 90e188b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

features/netsocket/RAWIPSocket.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class RAWIPSocket : public InternetSocket {
3333
*
3434
* @note Must call open to initialize the socket on a network stack.
3535
*/
36-
RAWIPSocket();
36+
RAWIPSocket();
3737

3838
/** Create and open a socket on the network stack of the given
3939
* network interface.
@@ -150,8 +150,8 @@ class RAWIPSocket : public InternetSocket {
150150
* @return Number of received bytes on success, negative error
151151
* code on failure.
152152
*/
153-
virtual nsapi_size_or_error_t recv(void *data, nsapi_size_t size);
154-
153+
virtual nsapi_size_or_error_t recv(void *data, nsapi_size_t size);
154+
155155
/** Not implemented for RAWIPSocket.
156156
*
157157
* @param error Not used.

features/netsocket/nsapi_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ typedef void *nsapi_socket_t;
215215
typedef enum nsapi_protocol {
216216
NSAPI_TCP, /*!< Socket is of TCP type */
217217
NSAPI_UDP, /*!< Socket is of UDP type */
218-
NSAPI_ICMP, /*!< Socket is of ICMP type */
218+
NSAPI_ICMP, /*!< Socket is of ICMP type */
219219
} nsapi_protocol_t;
220220

221221
/** Enum of standardized stack option levels

0 commit comments

Comments
 (0)