diff --git a/caca/caca.c b/caca/caca.c index 327a8f9..a9f461d 100644 --- a/caca/caca.c +++ b/caca/caca.c @@ -284,7 +284,7 @@ char const * caca_get_version(void) * XXX: The following functions are private. */ -extern void *_caca_alloc2d(size_t width, size_t height, size_t elem_size) +void *_caca_alloc2d(size_t width, size_t height, size_t elem_size) { if (width == 0 || height == 0 || elem_size == 0 || SIZE_MAX / width / height < elem_size) return NULL;