$OpenBSD: patch-prnt_hpps_hppsfilter_c,v 1.4 2021/09/11 08:39:12 ajacoutot Exp $

prnt/hpps/hppsfilter.c:107:13: error: void function 'open_tempbookletfile' should not return a value [-Wreturn-type]
            return 1;

Index: prnt/hpps/hppsfilter.c
--- prnt/hpps/hppsfilter.c.orig
+++ prnt/hpps/hppsfilter.c
@@ -105,7 +105,7 @@ static void open_tempbookletfile(char *mode)
     if(ptempbooklet_file == NULL)
     {
             fprintf(stderr, "ERROR: Unable to open temp file %s\n", temp_filename);
-            return 1;
+            return;
     }  
     chmod(temp_filename, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
 
