summaryrefslogtreecommitdiffstats
path: root/meta-openembedded/meta-oe/recipes-benchmark/tiobench/tiobench-0.3.3/0001-Drop-inline-of-crc32-function-to-fix-build-using-GCC.patch
blob: 5aebb956c1899243350f28633eb0e04142c0aac9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 5429ab90eb33eb243fa7b9cd247e0490d72b9da5 Mon Sep 17 00:00:00 2001
From: Otavio Salvador <otavio@ossystems.com.br>
Date: Wed, 9 Sep 2015 15:04:45 +0000
Subject: [PATCH] Drop 'inline' of crc32 function to fix build using GCC 5.2
Organization: O.S. Systems Software LTDA.

Upstream-Status: Pending

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 crc32.h |   1 -
 crc32.o | Bin 748 -> 2056 bytes
 2 files changed, 1 deletion(-)

diff --git a/crc32.h b/crc32.h
index 62b3433..8fc62b6 100644
--- a/crc32.h
+++ b/crc32.h
@@ -18,7 +18,6 @@
 #ifndef CRC32_H
 #define CRC32_H
 
-inline 
 unsigned long crc32( const void* const buffer, 
 		      unsigned long length, 
 		      unsigned long crc);

-- 
2.1.4

OpenPOWER on IntegriCloud