浏览代码

libobs: Add missing static to function

This function is not used outside of the source file, so make it static.
jp9000 6 年之前
父节点
当前提交
2557ffce7e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libobs/obs-source.c

+ 1 - 1
libobs/obs-source.c

@@ -144,7 +144,7 @@ static inline bool is_composite_source(const struct obs_source *source)
 extern char *find_libobs_data_file(const char *file);
 
 /* internal initialization */
-bool obs_source_init(struct obs_source *source)
+static bool obs_source_init(struct obs_source *source)
 {
 	pthread_mutexattr_t attr;