summaryrefslogtreecommitdiff
path: root/pdf
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 /pdf
parentc92a51cb111f997c94ec48e20cce90ca27073b55 (diff)
downloadmupdf-e219f89eab0e937b14ac2d8838296078f5fa2b35.tar.xz
Add 'void' to a function declaration.
Diffstat (limited to 'pdf')
-rw-r--r--pdf/mupdf-internal.h2
-rw-r--r--pdf/pdf_js.c2
-rw-r--r--pdf/pdf_js_none.c2
3 files changed, 3 insertions, 3 deletions
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;
}