From 90e188b23ad5aa8e00216603d949bfaa561e99d2 Mon Sep 17 00:00:00 2001 From: Balaji Date: Tue, 27 Aug 2019 17:35:29 -0700 Subject: [PATCH] fix a style convention --- features/netsocket/RAWIPSocket.h | 6 +++--- features/netsocket/nsapi_types.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/features/netsocket/RAWIPSocket.h b/features/netsocket/RAWIPSocket.h index 788774bb15..d5ad95a28b 100644 --- a/features/netsocket/RAWIPSocket.h +++ b/features/netsocket/RAWIPSocket.h @@ -33,7 +33,7 @@ public: * * @note Must call open to initialize the socket on a network stack. */ - RAWIPSocket(); + RAWIPSocket(); /** Create and open a socket on the network stack of the given * network interface. @@ -150,8 +150,8 @@ public: * @return Number of received bytes on success, negative error * code on failure. */ - virtual nsapi_size_or_error_t recv(void *data, nsapi_size_t size); - + virtual nsapi_size_or_error_t recv(void *data, nsapi_size_t size); + /** Not implemented for RAWIPSocket. * * @param error Not used. diff --git a/features/netsocket/nsapi_types.h b/features/netsocket/nsapi_types.h index ee2657d3dc..fa0ef691da 100644 --- a/features/netsocket/nsapi_types.h +++ b/features/netsocket/nsapi_types.h @@ -215,7 +215,7 @@ typedef void *nsapi_socket_t; typedef enum nsapi_protocol { NSAPI_TCP, /*!< Socket is of TCP type */ NSAPI_UDP, /*!< Socket is of UDP type */ - NSAPI_ICMP, /*!< Socket is of ICMP type */ + NSAPI_ICMP, /*!< Socket is of ICMP type */ } nsapi_protocol_t; /** Enum of standardized stack option levels