Browse Source

libobs: Add missing static to function

This function is not used outside of the source file, so make it static.
jp9000 6 years ago
parent
commit
2557ffce7e
1 changed files with 1 additions and 1 deletions
  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);
 extern char *find_libobs_data_file(const char *file);
 
 
 /* internal initialization */
 /* internal initialization */
-bool obs_source_init(struct obs_source *source)
+static bool obs_source_init(struct obs_source *source)
 {
 {
 	pthread_mutexattr_t attr;
 	pthread_mutexattr_t attr;