Fix for inline usage.

This commit is contained in:
Stefan Sommerfeld
2010-11-07 15:06:59 -02:00
committed by Marcelo Roberto Jimenez
parent 853cd32cfe
commit 243cd41974
2 changed files with 2 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ void SetSoapCallback(
/*! [in] SOAP Callback to be invoked . */ /*! [in] SOAP Callback to be invoked . */
MiniServerCallback callback); MiniServerCallback callback);
#else /* INCLUDE_DEVICE_APIS */ #else /* INCLUDE_DEVICE_APIS */
static inline void SetSoapCallback(MiniServerCallback callback) {} static UPNP_INLINE void SetSoapCallback(MiniServerCallback callback) {}
#endif /* INCLUDE_DEVICE_APIS */ #endif /* INCLUDE_DEVICE_APIS */

View File

@@ -154,7 +154,7 @@ int sock_destroy(
* *
* \return -1 if an error occurred or if the socket is -1. * \return -1 if an error occurred or if the socket is -1.
*/ */
static inline int sock_close( static UPNP_INLINE int sock_close(
/*! Socket descriptor. */ /*! Socket descriptor. */
SOCKET sock) SOCKET sock)
{ {