aboutsummaryrefslogtreecommitdiff
path: root/src/ppm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ppm.h')
-rw-r--r--src/ppm.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ppm.h b/src/ppm.h
index 5cf8b02..fa82d7a 100644
--- a/src/ppm.h
+++ b/src/ppm.h
@@ -5,10 +5,7 @@
#include <stdlib.h>
#include <string.h>
-typedef struct Image {
- uint8_t *data;
- int32_t width, height, pixel_bits;
-} Image;
+#include "common.h"
void ppm_read(const char *file, Image *img);
void ppm_write(const char *file, Image *img);
Feel free to download, copy and edit any repo