diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrc32.c | 1 | ||||
-rw-r--r-- | lib/libfec.c | 2 | ||||
-rw-r--r-- | lib/libmtd.c | 6 |
3 files changed, 5 insertions, 4 deletions
diff --git a/lib/libcrc32.c b/lib/libcrc32.c index 90b916c..48563a8 100644 --- a/lib/libcrc32.c +++ b/lib/libcrc32.c @@ -38,6 +38,7 @@ */ #include <stdint.h> +#include "crc32.h" static const uint32_t crc32_table[256] = { 0x00000000L, 0x77073096L, 0xee0e612cL, 0x990951baL, 0x076dc419L, diff --git a/lib/libfec.c b/lib/libfec.c index 0d8056a..aeb0bc2 100644 --- a/lib/libfec.c +++ b/lib/libfec.c @@ -544,7 +544,7 @@ fail: * q = values of the polynomial (known) */ -int +static int invert_vdm(gf *src, int k) { int i, j, row, col ; diff --git a/lib/libmtd.c b/lib/libmtd.c index a50f18a..1ecb31b 100644 --- a/lib/libmtd.c +++ b/lib/libmtd.c @@ -1200,9 +1200,9 @@ int mtd_write(libmtd_t desc, const struct mtd_dev_info *mtd, int fd, int eb, return 0; } -int do_oob_op(libmtd_t desc, const struct mtd_dev_info *mtd, int fd, - uint64_t start, uint64_t length, void *data, unsigned int cmd64, - unsigned int cmd) +static int do_oob_op(libmtd_t desc, const struct mtd_dev_info *mtd, int fd, + uint64_t start, uint64_t length, void *data, + unsigned int cmd64, unsigned int cmd) { int ret, oob_offs; struct mtd_oob_buf64 oob64; |