From c8ba185cf92c4138704a3c3b663a7a83d96e897f Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Fri, 9 Feb 2018 17:39:24 +0100 Subject: [PATCH] Remove unused function --- ext/gd/gd_compat.c | 5 ----- ext/gd/gd_compat.h | 1 - ext/gd/libgd/gd.h | 2 -- ext/gd/libgd/gd_jpeg.c | 5 ----- 4 files changed, 13 deletions(-) diff --git a/ext/gd/gd_compat.c b/ext/gd/gd_compat.c index 51020a3c71..aa1d51700d 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 db757f5988..570180813c 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 940650e9f1..c8c6d29c18 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 23d161631d..6d97cc7bc0 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) { -- 2.50.1