commit | c6b6803dcf408c23e7a42905bbe4f8b3974102b2 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Aug 22 17:36:45 2013 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Aug 27 22:21:21 2013 +0200 |
tree | 2820392b0b90968a21a87003b30ff5889d901b7e | |
parent | e511ffca5020f25aed9df8249d853294f63c802f [diff] [blame] |
Add forgotten "inline" keyword
diff --git a/include/polarssl/pk.h b/include/polarssl/pk.h index d97f834..4ff4747 100644 --- a/include/polarssl/pk.h +++ b/include/polarssl/pk.h
@@ -250,7 +250,7 @@ * * \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 ); }