summaryrefslogtreecommitdiff
path: root/Build/source/utils/psutils/psresize.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/psutils/psresize.c')
-rw-r--r--Build/source/utils/psutils/psresize.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/psutils/psresize.c b/Build/source/utils/psutils/psresize.c
index 9a8fd984abe..7bc3a75c788 100644
--- a/Build/source/utils/psutils/psresize.c
+++ b/Build/source/utils/psutils/psresize.c
@@ -46,7 +46,7 @@ static void argerror(void)
#define MIN(x,y) ((x) > (y) ? (y) : (x))
#define MAX(x,y) ((x) > (y) ? (x) : (y))
-void main(int argc, char *argv[])
+int main(int argc, char *argv[])
{
double scale, rscale; /* page scale */
double waste, rwaste; /* amount wasted */
@@ -175,6 +175,6 @@ void main(int argc, char *argv[])
pstops(1, 1, 0, specs, 0.0); /* do page rearrangement */
- exit(0);
+ return 0;
}