../gamut/gamut.c:2623: error: static declaration of ‘getcent’ follows non-static declaration ../gamut/gamut.c:143: note: previous declaration of ‘getcent’ was here ../gamut/gamut.c:2630: error: static declaration of ‘getrange’ follows non-static declaration ../gamut/gamut.c:144: note: previous declaration of ‘getrange’ was here Trivial patch attached. Richard
diff --git a/gamut/gamut.c b/gamut/gamut.c index b48b019..d902682 100644 --- a/gamut/gamut.c +++ b/gamut/gamut.c @@ -140,8 +140,8 @@ static double getsres(gamut *s); static int getisjab(gamut *s); static int getisrast(gamut *s); static void setnofilt(gamut *s); -void getcent(gamut *s, double *cent); -void getrange(gamut *s, double *min, double *max); +static void getcent(gamut *s, double *cent); +static void getrange(gamut *s, double *min, double *max); static int compatible(gamut *s, gamut *t); static int nrawverts(gamut *s); static int getrawvert(gamut *s, double pos[3], int ix);