diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2017-05-29 16:52:54 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2017-06-06 00:50:35 +0800 |
commit | 3909da69aec1f727b38f2415230cc14baf448fe2 (patch) | |
tree | 665b26fb63cf0e653fff6fb7a627e045a7391fd1 /source/fitz | |
parent | d2b5f023f161d87cfa91d6fd48e9d8874a398742 (diff) | |
download | mupdf-3909da69aec1f727b38f2415230cc14baf448fe2.tar.xz |
Declare functions without arguments as taking void.
Diffstat (limited to 'source/fitz')
-rw-r--r-- | source/fitz/harfbuzz.c | 2 | ||||
-rw-r--r-- | source/fitz/load-jpx.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/harfbuzz.c b/source/fitz/harfbuzz.c index d2ff3bf5..80451278 100644 --- a/source/fitz/harfbuzz.c +++ b/source/fitz/harfbuzz.c @@ -71,7 +71,7 @@ static void set_hb_context(fz_context *ctx) hb_secret = ctx; } -static fz_context *get_hb_context() +static fz_context *get_hb_context(void) { return hb_secret; } diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c index b03f26ce..2110299c 100644 --- a/source/fitz/load-jpx.c +++ b/source/fitz/load-jpx.c @@ -500,7 +500,7 @@ static void set_opj_context(fz_context *ctx) opj_secret = ctx; } -static fz_context *get_opj_context() +static fz_context *get_opj_context(void) { return opj_secret; } |