aboutsummaryrefslogtreecommitdiff
path: root/src/ppm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ppm.c')
-rw-r--r--src/ppm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ppm.c b/src/ppm.c
index aded7cd..a5cf3fe 100644
--- a/src/ppm.c
+++ b/src/ppm.c
@@ -6,6 +6,9 @@ static void read_p6_data(FILE *fp, Image *img);
void
ppm_write(const char *file, Image *img)
{
+ /*
+ * Write a ppm file
+ */
FILE *fp = fopen(file, "w");
if (fp == NULL) {
@@ -23,7 +26,7 @@ ppm_write(const char *file, Image *img)
void
ppm_read(const char *file, Image *img)
/*
- * Read a ppm image
+ * Read a ppm file
*/
{
FILE *fp = fopen(file, "r");
Feel free to download, copy and edit any repo