Add void to the parameter list of WelsGetCodecVersion

When the header is used from C instead of C++, an empty parameter
list means that it can take any number of parameters, and can cause
warnings like "function declaration isn’t a prototype" with some
C compilers. Clarify this by explicitly adding void to this function.
This commit is contained in:
Martin Storsjö 2014-12-31 17:07:36 +02:00
parent 47d8a840c0
commit ba314d16e7

View File

@ -534,7 +534,7 @@ void WelsDestroyDecoder (ISVCDecoder* pDecoder);
/** @brief Get codec version
* @return The linked codec version
*/
OpenH264Version WelsGetCodecVersion ();
OpenH264Version WelsGetCodecVersion (void);
#ifdef __cplusplus
}