From f43a3244ddb0d2789e6b097868e4472bc403a09a Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 15 Nov 2012 10:30:46 +0100 Subject: pgm_save: Check whether file could be opened --- src/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 8e0503a..bcc2828 100644 --- a/src/util.h +++ b/src/util.h @@ -1,7 +1,7 @@ #ifndef _UTIL_H_ #define _UTIL_H_ -void +int pgm_save(unsigned char *buf, int wrap, int xsize, int ysize, char *filename); /* Store half of frame_a and half of frame_b in frame_a */ -- cgit