avoid warning: implicit declaration of function ‘gd_error’ [-Wimplicit-function-declaration]

master
Takeshi Abe 2013-04-20 08:18:20 +09:00
parent da42a29bd3
commit 8843ac583a
8 changed files with 8 additions and 1 deletions

View File

@ -20,6 +20,7 @@
#include <string.h>
#include <stdlib.h>
#include "gd.h"
#include "gd_errors.h"
#include "gdhelpers.h"
/* 2.03: gd2 is no longer mandatory */

View File

@ -8,6 +8,7 @@
#include <string.h>
#include <stdlib.h>
#include "gd.h"
#include "gd_errors.h"
/* JCE: Arrange HAVE_LIBPNG so that it can be set in gd.h */
#ifdef HAVE_LIBPNG

View File

@ -1,4 +1,3 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@ -8,6 +7,7 @@
#include <string.h>
#include <stdlib.h>
#include "gd.h"
#include "gd_errors.h"
#define TRUE 1
#define FALSE 0

View File

@ -9,6 +9,7 @@
#include "gd_tga.h"
#include "gd.h"
#include "gd_errors.h"
#include "gdhelpers.h"
/*! \brief Creates a gdImage from a TGA file

View File

@ -34,6 +34,7 @@
#endif
#include "gd.h"
#include "gd_errors.h"
#include "gdfonts.h"
#include <stdio.h>
#include <stdlib.h>

View File

@ -56,6 +56,7 @@
#endif
#include "gd.h"
#include "gd_errors.h"
#include "gdfonts.h"
#include <stdio.h>
#include <stdlib.h>

View File

@ -7,6 +7,7 @@
#include <string.h>
#include <stdlib.h>
#include "gd.h"
#include "gd_errors.h"
#ifdef HAVE_LIBVPX
#include "webpimg.h"

View File

@ -3,6 +3,7 @@
#endif /* HAVE_CONFIG_H */
#include "gd.h"
#include "gd_errors.h"
#include <math.h>
/* In tests this is sufficient to prevent obvious artifacts */