Ver código fonte

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 anos atrás
pai
commit
afacac2cf7
1 arquivos alterados com 1 adições e 0 exclusões
  1. +1
    -0
      src/common-image.c

+ 1
- 0
src/common-image.c Ver arquivo

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

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

#include "common-image.h"



Carregando…
Cancelar
Salvar