summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-06-15 20:24:17 +0200
committerTor Andersson <tor@ghostscript.com>2010-06-15 20:24:17 +0200
commitac74a812a342852bc5d2e3c1cffdd52bd0b5f560 (patch)
treebcbdf2b12acfd0b1fd1b0eacb9c29b358227c735 /apps
parent46d91dd391ba6b90afa46e704ab679bc1a13835e (diff)
downloadmupdf-ac74a812a342852bc5d2e3c1cffdd52bd0b5f560.tar.xz
Explicitly return 0 from main() in the tools.
Diffstat (limited to 'apps')
-rw-r--r--apps/pdfclean.c2
-rw-r--r--apps/pdfdraw.c4
-rw-r--r--apps/pdfextract.c2
-rw-r--r--apps/pdfinfo.c2
-rw-r--r--apps/pdfshow.c2
5 files changed, 11 insertions, 1 deletions
diff --git a/apps/pdfclean.c b/apps/pdfclean.c
index d1eff4bf..a6cf402c 100644
--- a/apps/pdfclean.c
+++ b/apps/pdfclean.c
@@ -444,5 +444,7 @@ int main(int argc, char **argv)
savexref();
closexref();
+
+ return 0;
}
diff --git a/apps/pdfdraw.c b/apps/pdfdraw.c
index 8f7b7b93..bd4de239 100644
--- a/apps/pdfdraw.c
+++ b/apps/pdfdraw.c
@@ -60,7 +60,7 @@ static void drawusage(void)
" -r -\tresolution in dpi\n"
" -m\tprint benchmark results\n"
" -s\tprint MD5 checksum of page pixel data\n"
- " -t\ttext extraction made\n"
+ " -t\ttext extraction mode\n"
" -x\txml trace mode\n"
" example:\n"
" pdfdraw -o output%%03d.pnm input.pdf 1-3,5,9-\n");
@@ -461,5 +461,7 @@ int main(int argc, char **argv)
drawpages("1-");
closexref();
+
+ return 0;
}
diff --git a/apps/pdfextract.c b/apps/pdfextract.c
index ce939b4c..561d1bb3 100644
--- a/apps/pdfextract.c
+++ b/apps/pdfextract.c
@@ -243,5 +243,7 @@ int main(int argc, char **argv)
}
closexref();
+
+ return 0;
}
diff --git a/apps/pdfinfo.c b/apps/pdfinfo.c
index a4067040..1f7c9e73 100644
--- a/apps/pdfinfo.c
+++ b/apps/pdfinfo.c
@@ -1043,5 +1043,7 @@ int main(int argc, char **argv)
}
closexref();
+
+ return 0;
}
diff --git a/apps/pdfshow.c b/apps/pdfshow.c
index b773d8bf..85b78d29 100644
--- a/apps/pdfshow.c
+++ b/apps/pdfshow.c
@@ -158,5 +158,7 @@ int main(int argc, char **argv)
}
closexref();
+
+ return 0;
}