[evince] comics: Fix "no previous prototype for..." errors



commit 5e1a0ef3a2932cc62f460ded6892e99a3e88d467
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Mar 15 18:28:42 2017 +0100

    comics: Fix "no previous prototype for..." errors
    
    Functions that aren't used outside the C file should be marked as
    static.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720742

 cut-n-paste/unarr/lzmasdk/LzmaDec.c    |    2 +-
 cut-n-paste/unarr/rar/uncompress-rar.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/cut-n-paste/unarr/lzmasdk/LzmaDec.c b/cut-n-paste/unarr/lzmasdk/LzmaDec.c
index bbf650d..038b000 100644
--- a/cut-n-paste/unarr/lzmasdk/LzmaDec.c
+++ b/cut-n-paste/unarr/lzmasdk/LzmaDec.c
@@ -715,7 +715,7 @@ static void LzmaDec_InitRc(CLzmaDec *p, const Byte *data)
   p->needFlush = 0;
 }
 
-void LzmaDec_InitDicAndState(CLzmaDec *p, Bool initDic, Bool initState)
+static void LzmaDec_InitDicAndState(CLzmaDec *p, Bool initDic, Bool initState)
 {
   p->needFlush = 1;
   p->remainLen = 0;
diff --git a/cut-n-paste/unarr/rar/uncompress-rar.c b/cut-n-paste/unarr/rar/uncompress-rar.c
index 74c2ea6..3df490d 100644
--- a/cut-n-paste/unarr/rar/uncompress-rar.c
+++ b/cut-n-paste/unarr/rar/uncompress-rar.c
@@ -358,7 +358,7 @@ static uint8_t rar_decode_audio(struct AudioState *state, int8_t *channeldelta,
     return byte;
 }
 
-int64_t rar_expand_v2(ar_archive_rar *rar, int64_t end)
+static int64_t rar_expand_v2(ar_archive_rar *rar, int64_t end)
 {
     static const uint8_t lengthbases[] =
         {   0,   1,   2,   3,   4,   5,   6,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]