summaryrefslogtreecommitdiff
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
parentc92a51cb111f997c94ec48e20cce90ca27073b55 (diff)
downloadmupdf-e219f89eab0e937b14ac2d8838296078f5fa2b35.tar.xz
Add 'void' to a function declaration.
-rw-r--r--fitz/doc_document.c2
-rw-r--r--fitz/fitz.h2
-rw-r--r--pdf/mupdf-internal.h2
-rw-r--r--pdf/pdf_js.c2
-rw-r--r--pdf/pdf_js_none.c2
5 files changed, 5 insertions, 5 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;
diff --git a/pdf/mupdf-internal.h b/pdf/mupdf-internal.h
index b38f7095..667f996a 100644
--- a/pdf/mupdf-internal.h
+++ b/pdf/mupdf-internal.h
@@ -633,7 +633,7 @@ typedef struct pdf_js_event_s
int rc;
} pdf_js_event;
-int pdf_js_supported();
+int pdf_js_supported(void);
pdf_js *pdf_new_js(pdf_document *doc);
void pdf_drop_js(pdf_js *js);
void pdf_js_load_document_level(pdf_js *js);
diff --git a/pdf/pdf_js.c b/pdf/pdf_js.c
index 0060061f..f0920005 100644
--- a/pdf/pdf_js.c
+++ b/pdf/pdf_js.c
@@ -912,7 +912,7 @@ void pdf_js_execute_count(pdf_js *js, char *code, int count)
}
}
-int pdf_js_supported()
+int pdf_js_supported(void)
{
return 1;
}
diff --git a/pdf/pdf_js_none.c b/pdf/pdf_js_none.c
index bdf29002..dc06f039 100644
--- a/pdf/pdf_js_none.c
+++ b/pdf/pdf_js_none.c
@@ -31,7 +31,7 @@ void pdf_js_execute_count(pdf_js *js, char *code, int count)
{
}
-int pdf_js_supported()
+int pdf_js_supported(void)
{
return 0;
}