diff --git a/ext/gd/gd_compat.c b/ext/gd/gd_compat.c index 51020a3c71d..aa1d51700d2 100644 --- a/ext/gd/gd_compat.c +++ b/ext/gd/gd_compat.c @@ -17,11 +17,6 @@ #include "php.h" #ifdef HAVE_GD_JPG -int gdJpegGetVersionInt() -{ - return JPEG_LIB_VERSION; -} - const char * gdJpegGetVersionString() { switch(JPEG_LIB_VERSION) { diff --git a/ext/gd/gd_compat.h b/ext/gd/gd_compat.h index db757f59883..570180813c1 100644 --- a/ext/gd/gd_compat.h +++ b/ext/gd/gd_compat.h @@ -5,7 +5,6 @@ /* from gd_compat.c */ const char * gdPngGetVersionString(); const char * gdJpegGetVersionString(); -int gdJpegGetVersionInt(); #endif /* from gd_compat.c of libgd/gd_security.c */ diff --git a/ext/gd/libgd/gd.h b/ext/gd/libgd/gd.h index 940650e9f16..c8c6d29c180 100644 --- a/ext/gd/libgd/gd.h +++ b/ext/gd/libgd/gd.h @@ -378,10 +378,8 @@ gdImagePtr gdImageCreateFromBmp (FILE * inFile); gdImagePtr gdImageCreateFromBmpPtr (int size, void *data); gdImagePtr gdImageCreateFromBmpCtx (gdIOCtxPtr infile); -int gdJpegGetVersionInt(); const char * gdPngGetVersionString(); -int gdJpegGetVersionInt(); const char * gdJpegGetVersionString(); /* A custom data source. */ diff --git a/ext/gd/libgd/gd_jpeg.c b/ext/gd/libgd/gd_jpeg.c index 23d161631d2..6d97cc7bc08 100644 --- a/ext/gd/libgd/gd_jpeg.c +++ b/ext/gd/libgd/gd_jpeg.c @@ -103,11 +103,6 @@ static void fatal_jpeg_error (j_common_ptr cinfo) exit (99); } -int gdJpegGetVersionInt() -{ - return JPEG_LIB_VERSION; -} - const char * gdJpegGetVersionString() { switch(JPEG_LIB_VERSION) {