box-drawing: remove __attribute__((__const__)) from thickness()

thickness() is a static function and thus ‘const’ is not necessary.
This commit is contained in:
Daniel Eklöf 2020-12-29 10:41:38 +01:00
parent cf0270c1ea
commit 5b167bd185
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -14,7 +14,7 @@
#define LIGHT 1.0
#define HEAVY 2.0
static int CONST
static int
thickness(float pts, int dpi)
{
return pts * (float)dpi / 72.0;