diff --git a/lib/gui/bmp.c b/lib/gui/bmp.c index 143aa28..8bffc70 100644 --- a/lib/gui/bmp.c +++ b/lib/gui/bmp.c @@ -9,7 +9,7 @@ #include #include -struct image *bmp_open(char *inbuf, int insize) +static struct image *bmp_open(char *inbuf, int insize) { struct image *img = calloc(1, sizeof(struct image)); struct bmp_image *bmp = (struct bmp_image*)inbuf; @@ -30,7 +30,7 @@ return img; } -void bmp_close(struct image *img) +static void bmp_close(struct image *img) { free(img->data); }