diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-06-19 14:21:10 +0200 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-06-22 15:46:56 +0100 |
commit | e709f64df191609e83a497cae94ff59bcf32a239 (patch) | |
tree | a8586fede90e3601d2f96951dc668dd046b2da0d /scripts | |
parent | 978c99d48e05db3130a342d8810bf1ce28faff74 (diff) | |
download | mupdf-e709f64df191609e83a497cae94ff59bcf32a239.tar.xz |
Add const to pdf_toname.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/namedump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/namedump.c b/scripts/namedump.c index cfd28e36..46d4d4e3 100644 --- a/scripts/namedump.c +++ b/scripts/namedump.c @@ -58,7 +58,7 @@ main(int argc, char **argv) return EXIT_FAILURE; } - fprintf(out_c, "char *PDF_NAMES[] =\n{\n\t\"\",\n"); + fprintf(out_c, "static const char *PDF_NAMES[] =\n{\n\t\"\",\n"); fprintf(out_h, "enum\n{\n\tPDF_OBJ_ENUM__DUMMY,\n"); |