mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 06:24:27 +02:00
make use of 'extern' consistent in function declarations
Change-Id: I18e050db3111e52acfe97da09cdf1860f3e15936
This commit is contained in:
@ -49,8 +49,8 @@ extern const WebPFilterFunc WebPFilters[WEBP_FILTER_LAST];
|
||||
extern const WebPUnfilterFunc WebPUnfilters[WEBP_FILTER_LAST];
|
||||
|
||||
// Fast estimate of a potentially good filter.
|
||||
extern WEBP_FILTER_TYPE EstimateBestFilter(const uint8_t* data,
|
||||
int width, int height, int stride);
|
||||
WEBP_FILTER_TYPE EstimateBestFilter(const uint8_t* data,
|
||||
int width, int height, int stride);
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
} // extern "C"
|
||||
|
@ -31,7 +31,7 @@ typedef struct {
|
||||
} VP8Random;
|
||||
|
||||
// Initializes random generator with an amplitude 'dithering' in range [0..1].
|
||||
extern void VP8InitRandom(VP8Random* const rg, float dithering);
|
||||
void VP8InitRandom(VP8Random* const rg, float dithering);
|
||||
|
||||
// Returns a centered pseudo-random number with 'num_bits' amplitude.
|
||||
// (uses D.Knuth's Difference-based random generator)
|
||||
|
Reference in New Issue
Block a user