fix: Can't compile on Mac OS

This commit is contained in:
dreamsourcelabTAI 2023-04-12 18:48:53 +08:00
parent 298cc1bae5
commit d28d357a63

View File

@ -290,7 +290,7 @@ static int sanity_check_all_output_modules(void)
*
* @since 0.1.0 (but the API changed in 0.2.0)
*/
SR_API int sr_init(struct sr_context **ctx)
SR_PRIV int sr_init(struct sr_context **ctx)
{
int ret = SR_ERR;
struct sr_context *context;