[evince] mdvi-lib: Fix compilation warning (bad prototype)
- From: Tobias Mueller <tobiasmue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] mdvi-lib: Fix compilation warning (bad prototype)
- Date: Thu, 17 Aug 2017 11:08:44 +0000 (UTC)
commit 12fa68ea60b70e3999cf3d6b54e979ff2cd591bc
Author: astian <astian eclipso at>
Date: Thu Jul 20 02:32:19 2017 +0000
mdvi-lib: Fix compilation warning (bad prototype)
Incorrect (C++ style) prototype for a nullary function.
backend/dvi/mdvi-lib/fontmap.c:648:13: warning: function declaration
isn’t a prototype [-Wstrict-prototypes]
static void init_static_encoding()
^~~~~~~~~~~~~~~~~~~~
https://bugzilla.gnome.org/show_bug.cgi?id=784912
backend/dvi/mdvi-lib/fontmap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/backend/dvi/mdvi-lib/fontmap.c b/backend/dvi/mdvi-lib/fontmap.c
index 4d7cb57..ec42f2e 100644
--- a/backend/dvi/mdvi-lib/fontmap.c
+++ b/backend/dvi/mdvi-lib/fontmap.c
@@ -645,7 +645,7 @@ void mdvi_install_fontmap(DviFontMapEnt *head)
}
}
-static void init_static_encoding()
+static void init_static_encoding(void)
{
DviEncoding *encoding;
int i;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]