From c6b6803dcf408c23e7a42905bbe4f8b3974102b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Thu, 22 Aug 2013 17:36:45 +0200 Subject: [PATCH] Add forgotten "inline" keyword --- include/polarssl/pk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/polarssl/pk.h b/include/polarssl/pk.h index d97f834e3..4ff4747ca 100644 --- a/include/polarssl/pk.h +++ b/include/polarssl/pk.h @@ -250,7 +250,7 @@ size_t pk_get_size( const pk_context *ctx ); * * \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 ); }