summaryrefslogtreecommitdiff
path: root/apps/pdfclean.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2010-07-15 15:14:48 +0000
committerSebastian Rasmussen <sebras@hotmail.com>2010-07-15 15:14:48 +0000
commit3dc7d0613ce15cac3e31eafbb9b0d50db4c79f97 (patch)
tree7fb0be1ec6d31271f2abd0e5f78cb7e682023488 /apps/pdfclean.c
parent53237faa9e4a81794180a9a5d9c922d0af808d24 (diff)
downloadmupdf-3dc7d0613ce15cac3e31eafbb9b0d50db4c79f97.tar.xz
Correct function prototype and usage message.
Diffstat (limited to 'apps/pdfclean.c')
-rw-r--r--apps/pdfclean.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/pdfclean.c b/apps/pdfclean.c
index b3b0c1dd..d36c612f 100644
--- a/apps/pdfclean.c
+++ b/apps/pdfclean.c
@@ -269,7 +269,6 @@ static void cleanusage(void)
"usage: pdfclean [options] input.pdf [outfile.pdf] [pages]\n"
"\t-p -\tpassword for decryption\n"
"\t-g\tgarbage collect unused objects (an additional -g compacts xref)\n"
- "\t-r\tremove unused object numbers from xref\n"
"\t-x\texpand compressed streams\n");
exit(1);
}
@@ -403,7 +402,7 @@ static void renumberxref(void)
xref->len = newnum;
}
-static void outputpdf()
+static void outputpdf(void)
{
int lastfree;
int num;