summaryrefslogtreecommitdiff
path: root/Build/source/utils/psutils/pstops.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/psutils/pstops.c')
-rw-r--r--Build/source/utils/psutils/pstops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/psutils/pstops.c b/Build/source/utils/psutils/pstops.c
index 3f8c59be419..bb077bfa6d8 100644
--- a/Build/source/utils/psutils/pstops.c
+++ b/Build/source/utils/psutils/pstops.c
@@ -112,7 +112,7 @@ static PageSpec *parsespecs(char *str)
return (head);
}
-void main(int argc, char *argv[])
+int main(int argc, char *argv[])
{
PageSpec *specs = NULL;
int nobinding = 0;
@@ -194,5 +194,5 @@ void main(int argc, char *argv[])
pstops(modulo, pagesperspec, nobinding, specs, draw);
- exit(0);
+ return 0;
}