summaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2017-05-29 16:52:54 +0800
committerSebastian Rasmussen <sebras@gmail.com>2017-06-06 00:50:35 +0800
commit3909da69aec1f727b38f2415230cc14baf448fe2 (patch)
tree665b26fb63cf0e653fff6fb7a627e045a7391fd1 /platform/x11
parentd2b5f023f161d87cfa91d6fd48e9d8874a398742 (diff)
downloadmupdf-3909da69aec1f727b38f2415230cc14baf448fe2.tar.xz
Declare functions without arguments as taking void.
Diffstat (limited to 'platform/x11')
-rw-r--r--platform/x11/x11_main.c2
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;