Browse Source

common-image: avoid implicit function declaration

common-image.c: In function ‘load_image’:
common-image.c:164:18: warning: implicit declaration of function ‘_caca_alloc2d’ [-Wimplicit-function-declaration]
  164 |     im->pixels = _caca_alloc2d(im->w, im->h, depth);
      |                  ^~~~~~~~~~~~~
pull/70/head
Johannes Kauffmann 2 years ago
parent
commit
afacac2cf7
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/common-image.c

+ 1
- 0
src/common-image.c View File

@@ -22,6 +22,7 @@
#endif

#include "caca.h"
#include "caca_internals.h"

#include "common-image.h"



Loading…
Cancel
Save