aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gif.h5
-rw-r--r--src/jpeg.h3
-rw-r--r--src/meh.h7
-rw-r--r--src/png.c6
4 files changed, 13 insertions, 8 deletions
diff --git a/src/gif.h b/src/gif.h
deleted file mode 100644
index 17a86dc..0000000
--- a/src/gif.h
+++ /dev/null
@@ -1,5 +0,0 @@
-
-#include <stdio.h>
-
-unsigned char *loadgif(FILE *, int *, int *);
-
diff --git a/src/jpeg.h b/src/jpeg.h
deleted file mode 100644
index b6ab2e3..0000000
--- a/src/jpeg.h
+++ /dev/null
@@ -1,3 +0,0 @@
-
-unsigned char *loadjpeg(FILE *, int *, int *);
-
diff --git a/src/meh.h b/src/meh.h
new file mode 100644
index 0000000..719b717
--- /dev/null
+++ b/src/meh.h
@@ -0,0 +1,7 @@
+
+#include <stdio.h>
+
+unsigned char *loadgif(FILE *, int *, int *);
+unsigned char *loadjpeg(FILE *, int *, int *);
+unsigned char *loadpng(FILE *, int *, int *);
+
diff --git a/src/png.c b/src/png.c
new file mode 100644
index 0000000..76b4461
--- /dev/null
+++ b/src/png.c
@@ -0,0 +1,6 @@
+#include "meh.h"
+
+unsigned char *loadpng(FILE *infile, int *bufwidth, int *bufheight){
+ return NULL;
+}
+