1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/print/psutils/files/patch-psselect.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
356 B
C

--- psselect.c.orig 2011-06-21 04:20:51.000000000 +0900
+++ psselect.c 2011-06-21 04:21:08.000000000 +0900
@@ -91,7 +91,7 @@
}
-void main(int argc, char *argv[])
+int main(int argc, char *argv[])
{
int currentpg, maxpage = 0;
int even = 0, odd = 0, reverse = 0;
@@ -235,5 +235,5 @@
}
writetrailer();
- exit(0);
+ return (0);
}