Francois Gouget : hidclass.sys: Make a few functions static.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Oct 27 11:06:36 CDT 2015


Module: wine
Branch: master
Commit: af0288d419dce9584e480cd8240dc00ed2198b02
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=af0288d419dce9584e480cd8240dc00ed2198b02

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Oct 26 19:02:40 2015 +0100

hidclass.sys: Make a few functions static.

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/hidclass.sys/descriptor.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/dlls/hidclass.sys/descriptor.c b/dlls/hidclass.sys/descriptor.c
index 13ac99b..822de3d 100644
--- a/dlls/hidclass.sys/descriptor.c
+++ b/dlls/hidclass.sys/descriptor.c
@@ -401,7 +401,9 @@ static int getValue(int bsize, int source)
     return value;
 }
 
-void parse_io_feature(unsigned int bSize, int itemVal, int bTag, unsigned int *feature_index, struct feature *feature)
+static void parse_io_feature(unsigned int bSize, int itemVal, int bTag,
+                             unsigned int *feature_index,
+                             struct feature *feature)
 {
     if (bSize <= 0)
     {
@@ -430,7 +432,8 @@ void parse_io_feature(unsigned int bSize, int itemVal, int bTag, unsigned int *f
     }
 }
 
-void parse_collection(unsigned int bSize, int itemVal, struct collection *collection)
+static void parse_collection(unsigned int bSize, int itemVal,
+                             struct collection *collection)
 {
     if (bSize <= 0)
         return;
@@ -772,7 +775,7 @@ static void count_elements(struct feature* feature, USHORT *buttons, USHORT *val
     }
 }
 
-WINE_HIDP_PREPARSED_DATA* build_PreparseData(
+static WINE_HIDP_PREPARSED_DATA* build_PreparseData(
                        struct feature **features, int feature_count,
                        struct feature **input_features, int i_count,
                        struct feature **output_features, int o_count,




More information about the wine-cvs mailing list