diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2018-02-09 17:39:24 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2018-02-09 17:39:24 +0100 |
commit | c8ba185cf92c4138704a3c3b663a7a83d96e897f (patch) | |
tree | ccfa4f580e0ee635d5d8a337f867460ed159a952 /ext/gd | |
parent | d05ac8f610e5b8068e5f4f91c34750c1e7c6bcf6 (diff) | |
download | php-git-c8ba185cf92c4138704a3c3b663a7a83d96e897f.tar.gz |
Remove unused function
Diffstat (limited to 'ext/gd')
-rw-r--r-- | ext/gd/gd_compat.c | 5 | ||||
-rw-r--r-- | ext/gd/gd_compat.h | 1 | ||||
-rw-r--r-- | ext/gd/libgd/gd.h | 2 | ||||
-rw-r--r-- | ext/gd/libgd/gd_jpeg.c | 5 |
4 files changed, 0 insertions, 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) { |