Pārlūkot izejas kodu

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 pirms 3 gadiem
vecāks
revīzija
afacac2cf7
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      src/common-image.c

+ 1
- 0
src/common-image.c Parādīt failu

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

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

#include "common-image.h"



Notiek ielāde…
Atcelt
Saglabāt