Skip to content

Commit 9683d1f

Browse files
caca_internals: export _caca_alloc2d
It is used by the image viewer: /usr/bin/ld: img2txt-common-image.o: in function `load_image': ../../src/common-image.c:164: undefined reference to `_caca_alloc2d' Fixes cacalabs#59.
1 parent f57b0d6 commit 9683d1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

caca/caca_internals.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ extern int _caca_pop_event(caca_display_t *, caca_privevent_t *);
268268
extern void _caca_set_term_title(char const *);
269269

270270
/* Internal memory function */
271-
extern void *_caca_alloc2d(size_t width, size_t height, size_t elem_size);
271+
__extern void *_caca_alloc2d(size_t width, size_t height, size_t elem_size);
272272

273273
/* Profiling functions */
274274
#if defined PROF

0 commit comments

Comments
 (0)