aboutsummaryrefslogtreecommitdiffstats
path: root/src/pnm.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/pnm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pnm.h b/src/pnm.h
index 9721d4c..f13972c 100644
--- a/src/pnm.h
+++ b/src/pnm.h
@@ -54,7 +54,9 @@ extern const char* inttable[];
* @param width The width of the image.
* @param height The height of the image.
* @param imgfd The file descriptor connected to conversion process's stdin.
+ * @param data Additional data for `convert_fb_to_pnm`
+ * and `convert_fb_to_png`.
* @return Zero on success, -1 on error.
*/
-int save_pnm (int fbfd, long width, long height, int imgfd);
+int save_pnm (int fbfd, long width, long height, int imgfd, void *restrict data);