summaryrefslogtreecommitdiff
path: root/crc32c.c
diff options
context:
space:
mode:
authorZach Brown <zab@redhat.com>2013-08-14 16:16:41 -0700
committerDavid Sterba <dsterba@suse.cz>2013-09-03 19:41:08 +0200
commitd1dc0919808b4a80c47ca720e5ff610ed6f4a1b5 (patch)
treed2c2ab2dca2dc3d44ae3fac38aa4d124b02eeee4 /crc32c.c
parent66253a818362601c00c4b98715bd819940075937 (diff)
btrfs-progs: make many private symbols static
Signed-off-by: Zach Brown <zab@redhat.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'crc32c.c')
-rw-r--r--crc32c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crc32c.c b/crc32c.c
index c285d6e3..dfa4e6c1 100644
--- a/crc32c.c
+++ b/crc32c.c
@@ -62,7 +62,7 @@ static uint32_t crc32c_intel_le_hw_byte(uint32_t crc, unsigned char const *data,
* Steps through buffer one byte at at time, calculates reflected
* crc using table.
*/
-uint32_t crc32c_intel(u32 crc, unsigned char const *data, unsigned long length)
+static uint32_t crc32c_intel(u32 crc, unsigned char const *data, unsigned long length)
{
unsigned int iquotient = length / SCALE_F;
unsigned int iremainder = length % SCALE_F;
@@ -100,7 +100,7 @@ static void do_cpuid(unsigned int *eax, unsigned int *ebx, unsigned int *ecx,
: "eax", "ebx", "ecx", "edx");
}
-void crc32c_intel_probe(void)
+static void crc32c_intel_probe(void)
{
if (!crc32c_probed) {
unsigned int eax, ebx, ecx, edx;