[PATCH 2/2] lib/zstd: mark some internal functions as static with ZSTD_STATIC

2018-11-14 Thread Adeodato Simó
Use ZSTD_STATIC instead of vanilla static because the functions are actually unused, and the macro adds the unused attribute. This silences -Wmissing-prototypes when defining. Signed-off-by: Adeodato Simó --- I separated these two functions into a separate patch because they are actually

[PATCH 2/2] lib/zstd: mark some internal functions as static with ZSTD_STATIC

2018-11-14 Thread Adeodato Simó
Use ZSTD_STATIC instead of vanilla static because the functions are actually unused, and the macro adds the unused attribute. This silences -Wmissing-prototypes when defining. Signed-off-by: Adeodato Simó --- I separated these two functions into a separate patch because they are actually