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 /platform | |
parent | d2b5f023f161d87cfa91d6fd48e9d8874a398742 (diff) | |
download | mupdf-3909da69aec1f727b38f2415230cc14baf448fe2.tar.xz |
Declare functions without arguments as taking void.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/x11/x11_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/x11_main.c b/platform/x11/x11_main.c index dc99878b..fe2daa87 100644 --- a/platform/x11/x11_main.c +++ b/platform/x11/x11_main.c @@ -348,7 +348,7 @@ void cleanup(pdfapp_t *app) fz_drop_context(ctx); } -static int winresolution() +static int winresolution(void) { return DisplayWidth(xdpy, xscr) * 25.4f / DisplayWidthMM(xdpy, xscr) + 0.5f; |