Andrew Talbot : cabinet: Declare a function static.
Alexandre Julliard
julliard at winehq.org
Mon Feb 9 10:29:23 CST 2009
Module: wine
Branch: master
Commit: 9a079a64e63e50304efe2873bdc4ab3406a06e30
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9a079a64e63e50304efe2873bdc4ab3406a06e30
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Sat Feb 7 14:32:50 2009 +0000
cabinet: Declare a function static.
---
dlls/cabinet/cabinet.h | 3 ---
dlls/cabinet/fdi.c | 3 ++-
2 files changed, 2 insertions(+), 4 deletions(-)
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-cvs
mailing list