Parcourir la 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 il y a 2 ans
Parent
révision
afacac2cf7
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. +1
    -0
      src/common-image.c

+ 1
- 0
src/common-image.c Voir le fichier

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

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

#include "common-image.h"



Chargement…
Annuler
Enregistrer