identify: make otsu() static.

This commit is contained in:
Daniel Beer 2019-05-02 15:56:35 +12:00
parent 0e2dbec426
commit 5d71b1853e

View file

@ -174,7 +174,7 @@ static void flood_fill_seed(struct quirc *q, int x, int y, int from, int to,
* Adaptive thresholding
*/
uint8_t otsu(const struct quirc *q)
static uint8_t otsu(const struct quirc *q)
{
int numPixels = q->w * q->h;