File 0001-don-t-stutter-static-on-BigEndian.patch of Package python-distorm3

From 9d4942f5fae759d2eb3c1d2e4a68236ede60a843 Mon Sep 17 00:00:00 2001
From: Dinar Valeev <dvaleev@suse.com>
Date: Fri, 27 Jul 2012 10:35:19 +0200
Subject: [PATCH] don't stutter static on  BigEndian

---
 src/config.h |    2 +-
 src/prefix.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/config.h b/src/config.h
index 7727168..3184cd4 100644
--- a/src/config.h
+++ b/src/config.h
@@ -58,7 +58,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>
 
 #define _DLLEXPORT_
 #define _FASTCALL_
-#define _INLINE_ static
+#define _INLINE_
 /* GCC ignores this directive... */
 /*#define _FASTCALL_ __attribute__((__fastcall__))*/
 
diff --git a/src/prefix.c b/src/prefix.c
index 12bfb11..fff5d76 100644
--- a/src/prefix.c
+++ b/src/prefix.c
@@ -128,7 +128,7 @@ uint16_t prefixes_set_unused_mask(_PrefixState* ps)
  * Mark a prefix as unused, and bookkeep where we last saw this same type,
  * because in the future we might want to disable it too.
  */
-_INLINE_ void prefixes_track_unused(_PrefixState* ps, int index, _PrefixIndexer pi)
+static void prefixes_track_unused(_PrefixState* ps, int index, _PrefixIndexer pi)
 {
 	prefixes_ignore(ps, pi);
 	/* Book-keep the current index for this type. */
-- 
1.6.0.2

openSUSE Build Service is sponsored by