summaryrefslogtreecommitdiff
path: root/libbb/crc32.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/crc32.c')
-rw-r--r--libbb/crc32.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libbb/crc32.c b/libbb/crc32.c
index 0360995..538a136 100644
--- a/libbb/crc32.c
+++ b/libbb/crc32.c
@@ -14,11 +14,10 @@
* endian = 0: little-endian
*/
-#include <stdio.h>
-#include <stdlib.h>
#include "libbb.h"
-uint32_t *bb_crc32_filltable (int endian) {
+uint32_t *crc32_filltable(int endian)
+{
uint32_t *crc_table = xmalloc(256 * sizeof(uint32_t));
uint32_t polynomial = endian ? 0x04c11db7 : 0xedb88320;