aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-02-23 21:04:06 +0000
committerHarry Jeffery <harry@exec64.co.uk>2019-02-23 21:04:10 +0000
commitcd0684a2cbd4e68a51ef595c32c0faf1bf1ac41a (patch)
treef8839b2a666ad1b8bc6c390d76835f607bc9e76b /src
parent28eb7b50dcc91c2c869721d9c62095b7dc29f3cc (diff)
downloadimv-cd0684a2cbd4e68a51ef595c32c0faf1bf1ac41a.tar.gz
Makefile: Don't use $(wildcard)
Diffstat (limited to 'src')
-rw-r--r--src/backend_freeimage.c11
-rw-r--r--src/backend_libjpeg.c11
-rw-r--r--src/backend_libpng.c11
-rw-r--r--src/backend_librsvg.c11
-rw-r--r--src/backend_libtiff.c11
5 files changed, 0 insertions, 55 deletions
diff --git a/src/backend_freeimage.c b/src/backend_freeimage.c
index bb3c089..2cc386c 100644
--- a/src/backend_freeimage.c
+++ b/src/backend_freeimage.c
@@ -6,8 +6,6 @@
#include <stdio.h>
#include <string.h>
-#ifdef IMV_BACKEND_FREEIMAGE
-
#include <FreeImage.h>
struct private {
@@ -342,12 +340,3 @@ const struct imv_backend *imv_backend_freeimage(void)
{
return &freeimage_backend;
}
-
-#else
-
-const struct imv_backend *imv_backend_freeimage(void)
-{
- return NULL;
-}
-
-#endif
diff --git a/src/backend_libjpeg.c b/src/backend_libjpeg.c
index ba3b1f9..d1e0b17 100644
--- a/src/backend_libjpeg.c
+++ b/src/backend_libjpeg.c
@@ -8,8 +8,6 @@
#include <unistd.h>
#include <fcntl.h>
-#ifdef IMV_BACKEND_LIBJPEG
-
#include <turbojpeg.h>
struct private {
@@ -227,12 +225,3 @@ const struct imv_backend *imv_backend_libjpeg(void)
{
return &libjpeg_backend;
}
-
-#else
-
-const struct imv_backend *imv_backend_libjpeg(void)
-{
- return NULL;
-}
-
-#endif
diff --git a/src/backend_libpng.c b/src/backend_libpng.c
index a4697c6..323139e 100644
--- a/src/backend_libpng.c
+++ b/src/backend_libpng.c
@@ -5,8 +5,6 @@
#include <stdio.h>
#include <string.h>
-#ifdef IMV_BACKEND_LIBPNG
-
#include <png.h>
struct private {
@@ -206,12 +204,3 @@ const struct imv_backend *imv_backend_libpng(void)
{
return &libpng_backend;
}
-
-#else
-
-const struct imv_backend *imv_backend_libpng(void)
-{
- return NULL;
-}
-
-#endif
diff --git a/src/backend_librsvg.c b/src/backend_librsvg.c
index 86cbf00..984a351 100644
--- a/src/backend_librsvg.c
+++ b/src/backend_librsvg.c
@@ -5,8 +5,6 @@
#include <stdlib.h>
#include <string.h>
-#ifdef IMV_BACKEND_LIBRSVG
-
#include <librsvg/rsvg.h>
/* Some systems like GNU/Hurd don't define PATH_MAX */
@@ -210,12 +208,3 @@ const struct imv_backend *imv_backend_librsvg(void)
{
return &librsvg_backend;
}
-
-#else
-
-const struct imv_backend *imv_backend_librsvg(void)
-{
- return NULL;
-}
-
-#endif
diff --git a/src/backend_libtiff.c b/src/backend_libtiff.c
index a489cc1..82ce48e 100644
--- a/src/backend_libtiff.c
+++ b/src/backend_libtiff.c
@@ -8,8 +8,6 @@
#include <unistd.h>
#include <fcntl.h>
-#ifdef IMV_BACKEND_LIBTIFF
-
#include <tiffio.h>
struct private {
@@ -238,12 +236,3 @@ const struct imv_backend *imv_backend_libtiff(void)
{
return &libtiff_backend;
}
-
-#else
-
-const struct imv_backend *imv_backend_libtiff(void)
-{
- return NULL;
-}
-
-#endif