fix a style convention

pull/10978/head
Balaji 2019-08-27 17:35:29 -07:00
parent b91836a94d
commit 90e188b23a
2 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ public:
* *
* @note Must call open to initialize the socket on a network stack. * @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 /** Create and open a socket on the network stack of the given
* network interface. * network interface.
@ -150,8 +150,8 @@ public:
* @return Number of received bytes on success, negative error * @return Number of received bytes on success, negative error
* code on failure. * 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. /** Not implemented for RAWIPSocket.
* *
* @param error Not used. * @param error Not used.

View File

@ -215,7 +215,7 @@ typedef void *nsapi_socket_t;
typedef enum nsapi_protocol { typedef enum nsapi_protocol {
NSAPI_TCP, /*!< Socket is of TCP type */ NSAPI_TCP, /*!< Socket is of TCP type */
NSAPI_UDP, /*!< Socket is of UDP 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; } nsapi_protocol_t;
/** Enum of standardized stack option levels /** Enum of standardized stack option levels