diff options
author | Sean McGovern <[email protected]> | 2016-06-30 12:38:17 -0400 |
---|---|---|
committer | Sean McGovern <[email protected]> | 2016-07-01 13:18:43 -0400 |
commit | 4275507a21562299ed6b27cebc40c7308fd594a8 (patch) | |
tree | 0ba1284d607d9b500da72e514c8ba325a8d9a1db | |
parent | 3c62ce4d1fb0e33402520ebe0ecf80d22a8c3170 (diff) |
libhb: add a declaration for hb_presets_add_internal
Also, mark it as static as it is not used outside of this file.
-rw-r--r-- | libhb/preset.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/preset.c b/libhb/preset.c index d4e8e3214..8f6ccc07c 100644 --- a/libhb/preset.c +++ b/libhb/preset.c @@ -36,6 +36,7 @@ static void preset_clean(hb_value_t *preset, hb_value_t *template); static int preset_import(hb_value_t *preset, int major, int minor, int micro); static hb_value_t * presets_package(const hb_value_t *presets); +static int hb_presets_add_internal(hb_value_t *); enum { @@ -3109,7 +3110,7 @@ void hb_presets_builtin_update(void) hb_value_free(&builtin); } -int hb_presets_add_internal(hb_value_t *preset) +static int hb_presets_add_internal(hb_value_t *preset) { hb_preset_index_t *path; int added = 0; |