mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Moved __cplusplus extern statement to include struct definitions as well.
This commit is contained in:
parent
c5a79cca53
commit
407a0da160
30 changed files with 144 additions and 113 deletions
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* \brief Run-time version information
|
||||
*
|
||||
* Copyright (C) 2006-2012, Brainspark B.V.
|
||||
* Copyright (C) 2006-2013, Brainspark B.V.
|
||||
*
|
||||
* This file is part of PolarSSL (http://www.polarssl.org)
|
||||
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
|
||||
|
|
@ -52,6 +52,10 @@
|
|||
|
||||
#if defined(POLARSSL_VERSION_C)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Get the version number.
|
||||
*
|
||||
|
|
@ -76,6 +80,10 @@ void version_get_string( char *string );
|
|||
*/
|
||||
void version_get_string_full( char *string );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* POLARSSL_VERSION_C */
|
||||
|
||||
#endif /* version.h */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue