summaryrefslogtreecommitdiff
path: root/fitz
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2013-03-21 18:07:07 +0000
committerRobin Watts <robin.watts@artifex.com>2013-03-21 18:45:32 +0000
commite219f89eab0e937b14ac2d8838296078f5fa2b35 (patch)
tree42073ddff6f77f3352597f108e09c5c22e6cab0e /fitz
parentc92a51cb111f997c94ec48e20cce90ca27073b55 (diff)
downloadmupdf-e219f89eab0e937b14ac2d8838296078f5fa2b35.tar.xz
Add 'void' to a function declaration.
Diffstat (limited to 'fitz')
-rw-r--r--fitz/doc_document.c2
-rw-r--r--fitz/fitz.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/fitz/doc_document.c b/fitz/doc_document.c
index 21e029e5..564329c4 100644
--- a/fitz/doc_document.c
+++ b/fitz/doc_document.c
@@ -243,7 +243,7 @@ fz_interactive *fz_interact(fz_document *doc)
return NULL;
}
-int fz_javascript_supported()
+int fz_javascript_supported(void)
{
return pdf_js_supported();
}
diff --git a/fitz/fitz.h b/fitz/fitz.h
index 47f61f39..c614161f 100644
--- a/fitz/fitz.h
+++ b/fitz/fitz.h
@@ -3127,7 +3127,7 @@ fz_mail_doc_event *fz_access_mail_doc_event(fz_doc_event *event);
fz_javascript_supported: test whether a version of mupdf with
a javascript engine is in use.
*/
-int fz_javascript_supported();
+int fz_javascript_supported(void);
typedef struct fz_write_options_s fz_write_options;