rslib: Make some functions static
[linux-block.git] / lib / reed_solomon / test_rslib.c
index eb62e0393c80fdb08c1ea260b51937c966e76eba..4eb29f365ece0958e36787dcbdcd164c979bc827 100644 (file)
@@ -310,8 +310,8 @@ static void test_uc(struct rs_control *rs, int len, int errs,
        stat->nwords += trials;
 }
 
-int ex_rs_helper(struct rs_control *rs, struct wspace *ws,
-               int len, int trials, int method)
+static int ex_rs_helper(struct rs_control *rs, struct wspace *ws,
+                       int len, int trials, int method)
 {
        static const char * const desc[] = {
                "Testing correction buffer interface...",
@@ -346,8 +346,8 @@ int ex_rs_helper(struct rs_control *rs, struct wspace *ws,
        return retval;
 }
 
-int exercise_rs(struct rs_control *rs, struct wspace *ws,
-               int len, int trials)
+static int exercise_rs(struct rs_control *rs, struct wspace *ws,
+                      int len, int trials)
 {
 
        int retval = 0;
@@ -404,8 +404,8 @@ static void test_bc(struct rs_control *rs, int len, int errs,
        stat->nwords += trials;
 }
 
-int exercise_rs_bc(struct rs_control *rs, struct wspace *ws,
-               int len, int trials)
+static int exercise_rs_bc(struct rs_control *rs, struct wspace *ws,
+                         int len, int trials)
 {
        struct bcstat stat = {0, 0, 0, 0};
        int nroots = rs->codec->nroots;