Add forgotten "inline" keyword

This commit is contained in:
Manuel Pégourié-Gonnard 2013-08-22 17:36:45 +02:00
parent e511ffca50
commit c6b6803dcf

View file

@ -250,7 +250,7 @@ size_t pk_get_size( const pk_context *ctx );
* *
* \return Key lenght in bytes, or 0 on error * \return Key lenght in bytes, or 0 on error
*/ */
static size_t pk_get_len( const pk_context *ctx ) static inline size_t pk_get_len( const pk_context *ctx )
{ {
return( ( pk_get_size( ctx ) + 7 ) / 8 ); return( ( pk_get_size( ctx ) + 7 ) / 8 );
} }