cabinet: Declare a function static

Andrew Talbot andrew.talbot at talbotville.com
Sat Feb 7 08:32:50 CST 2009


Changelog:
    cabinet: Declare a function static.

diff --git a/dlls/cabinet/cabinet.h b/dlls/cabinet/cabinet.h
index 3423a73..cd82d14 100644
--- a/dlls/cabinet/cabinet.h
+++ b/dlls/cabinet/cabinet.h
@@ -653,7 +653,4 @@ typedef struct {
     struct FILELIST *FilterList;
 } SESSION;
 
-/* from fdi.c */
-int make_decode_table(cab_ULONG nsyms, cab_ULONG nbits, const cab_UBYTE *length, cab_UWORD *table);
-
 #endif /* __WINE_CABINET_H */
diff --git a/dlls/cabinet/fdi.c b/dlls/cabinet/fdi.c
index bdf64b6..c7749eb 100644
--- a/dlls/cabinet/fdi.c
+++ b/dlls/cabinet/fdi.c
@@ -220,7 +220,8 @@ static void QTMupdatemodel(struct QTMmodel *model, int sym) {
  *   OK:    0
  *   error: 1
  */
-int make_decode_table(cab_ULONG nsyms, cab_ULONG nbits, const cab_UBYTE *length, cab_UWORD *table) {
+static int make_decode_table(cab_ULONG nsyms, cab_ULONG nbits,
+                             const cab_UBYTE *length, cab_UWORD *table) {
   register cab_UWORD sym;
   register cab_ULONG leaf;
   register cab_UBYTE bit_num = 1;



More information about the wine-patches mailing list