summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-04-13 16:29:27 +0200
committerZenWalker <[email protected]>2020-04-14 13:25:22 +0200
commit8170ddddafadbd2268de83872536eb8c385cfa6a (patch)
treed84e1b57b86acb1bd92247dd531215cb94feedaa
parentd88ad14b2f6a43f2821299c32f4710d33386a73c (diff)
downloadatril-8170ddddafadbd2268de83872536eb8c385cfa6a.tar.bz2
atril-8170ddddafadbd2268de83872536eb8c385cfa6a.tar.xz
Remove strict-prototypes warning
-rw-r--r--backend/dvi/mdvi-lib/fontmap.c2
-rw-r--r--backend/epub/epub-document.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/dvi/mdvi-lib/fontmap.c b/backend/dvi/mdvi-lib/fontmap.c
index 553b49da..36111bd5 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;
diff --git a/backend/epub/epub-document.c b/backend/epub/epub-document.c
index 2ad7c09b..b3a048e2 100644
--- a/backend/epub/epub-document.c
+++ b/backend/epub/epub-document.c
@@ -435,7 +435,7 @@ xml_get_data_from_node (xmlNodePtr node,
xmlChar* attributename);
static void
-xml_free_doc();
+xml_free_doc (void);
static void
free_tree_nodes (gpointer data);