1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/print/psutils/files/patch-psbook.c
Hiroki Sato 5f8eb67e37 Merge print/psutils-a4 and print/psutils-letter into a single port
print/psutils.  The default paper size in the programs can be set via
libpaper ($PAPERSIZE or etc/papersize configuration file).
2013-04-24 04:13:09 +00:00

19 lines
331 B
C

--- 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);
}