summaryrefslogtreecommitdiff
path: root/print/psutils/files/patch-psbook.c
blob: b19ce81deeac75fb5b371c19bfe4766d9ca38ce0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- psbook.c.orig	2011-06-21 04:19:12.000000000 +0900
+++ psbook.c	2011-06-21 04:19:36.000000000 +0900
@@ -32,7 +32,7 @@
 }
 
 
-void main(int argc, char *argv[])
+int main(int argc, char *argv[])
 {
    int signature = 0;
    int currentpg, maxpage;
@@ -107,5 +107,5 @@
    }
    writetrailer();
 
-   exit(0);
+   return (0);
 }