Andrew Talbot : cabinet: Declare a function static.
Alexandre Julliard
julliard at winehq.org
Fri Jan 2 08:25:52 CST 2009
Module: wine
Branch: master
Commit: 184dbe7e63c7ed6f15381c6681899cbe731d81aa
URL: http://source.winehq.org/git/wine.git/?a=commit;h=184dbe7e63c7ed6f15381c6681899cbe731d81aa
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Fri Jan 2 12:54:42 2009 +0000
cabinet: Declare a function static.
---
dlls/cabinet/cabinet.h | 1 -
dlls/cabinet/fdi.c | 2 +-
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/cabinet/cabinet.h b/dlls/cabinet/cabinet.h
index e786c1f..8b38f9b 100644
--- a/dlls/cabinet/cabinet.h
+++ b/dlls/cabinet/cabinet.h
@@ -656,6 +656,5 @@ typedef struct {
/* from fdi.c */
void QTMupdatemodel(struct QTMmodel *model, int sym);
int make_decode_table(cab_ULONG nsyms, cab_ULONG nbits, const cab_UBYTE *length, cab_UWORD *table);
-cab_ULONG checksum(const cab_UBYTE *data, cab_UWORD bytes, cab_ULONG csum);
#endif /* __WINE_CABINET_H */
diff --git a/dlls/cabinet/fdi.c b/dlls/cabinet/fdi.c
index 2248b9e..e36066d 100644
--- a/dlls/cabinet/fdi.c
+++ b/dlls/cabinet/fdi.c
@@ -293,7 +293,7 @@ int make_decode_table(cab_ULONG nsyms, cab_ULONG nbits, const cab_UBYTE *length,
/*************************************************************************
* checksum (internal)
*/
-cab_ULONG checksum(const cab_UBYTE *data, cab_UWORD bytes, cab_ULONG csum) {
+static cab_ULONG checksum(const cab_UBYTE *data, cab_UWORD bytes, cab_ULONG csum) {
int len;
cab_ULONG ul = 0;
More information about the wine-cvs
mailing list