summaryrefslogtreecommitdiff
path: root/gs/base/gdevpdf.c
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@artifex.com>2010-08-02 09:06:47 +0000
committerKen Sharp <ken.sharp@artifex.com>2010-08-02 09:06:47 +0000
commit92d49d9fe9fb623f96194bec4e2324ea5dcb4623 (patch)
tree30e7b7e167ceb3f2ef9b25aa3f0cfb8023080367 /gs/base/gdevpdf.c
parente311b5e1cd4ecdf0f05a62eafd3f081615101efe (diff)
Fix a few minor compiler warnings from gcc. No differences expected.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11586 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/base/gdevpdf.c')
-rw-r--r--gs/base/gdevpdf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gs/base/gdevpdf.c b/gs/base/gdevpdf.c
index 3da44ba16..0d992d27b 100644
--- a/gs/base/gdevpdf.c
+++ b/gs/base/gdevpdf.c
@@ -1060,7 +1060,7 @@ pdf_output_page(gx_device * dev, int num_copies, int flush)
gx_finish_output_page(dev, num_copies, flush));
}
-int find_end_xref_section (gx_device_pdf *pdev, FILE *tfile, int start, int resource_pos)
+static int find_end_xref_section (gx_device_pdf *pdev, FILE *tfile, int start, int resource_pos)
{
int start_offset = (start - pdev->FirstObjectNumber) * sizeof(ulong);
@@ -1084,7 +1084,7 @@ int find_end_xref_section (gx_device_pdf *pdev, FILE *tfile, int start, int reso
return pdev->next_id;
}
-write_xref_section(gx_device_pdf *pdev, FILE *tfile, int start, int end, int resource_pos)
+static int write_xref_section(gx_device_pdf *pdev, FILE *tfile, int start, int end, int resource_pos)
{
int start_offset = (start - pdev->FirstObjectNumber) * sizeof(ulong);
@@ -1104,6 +1104,7 @@ write_xref_section(gx_device_pdf *pdev, FILE *tfile, int start, int end, int res
stream_puts(pdev->strm, str);
}
}
+ return 0;
}
/* Close the device. */