From fb2f91f17d1f151ba2f315bd34aea5619f62476e Mon Sep 17 00:00:00 2001 From: Sejun Park Date: Tue, 10 Jan 2017 18:48:48 +0900 Subject: [PATCH] fixed build errors due to toolchain upgrade Change-Id: I5d4ebfd0a0be7c23ece59283e3125f6a56cbcd44 --- nestegg/halloc/src/align.h | 5 ++--- nestegg/halloc/src/halloc.c | 2 +- packaging/libvpx.spec | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/nestegg/halloc/src/align.h b/nestegg/halloc/src/align.h index 4c6e183..9b414e8 100644 --- a/nestegg/halloc/src/align.h +++ b/nestegg/halloc/src/align.h @@ -15,10 +15,11 @@ #ifndef _LIBP_ALIGN_H_ #define _LIBP_ALIGN_H_ +typedef union _max_align hmax_align_t; /* * a type with the most strict alignment requirements */ -union max_align +union _max_align { char c; short s; @@ -30,7 +31,5 @@ union max_align void (*q)(void); }; -typedef union max_align max_align_t; - #endif diff --git a/nestegg/halloc/src/halloc.c b/nestegg/halloc/src/halloc.c index 38fd6c1..5647f41 100644 --- a/nestegg/halloc/src/halloc.c +++ b/nestegg/halloc/src/halloc.c @@ -30,7 +30,7 @@ typedef struct hblock #endif hlist_item_t siblings; /* 2 pointers */ hlist_head_t children; /* 1 pointer */ - max_align_t data[1]; /* not allocated, see below */ + hmax_align_t data[1]; /* not allocated, see below */ } hblock_t; diff --git a/packaging/libvpx.spec b/packaging/libvpx.spec index a1aa1c6..118760d 100644 --- a/packaging/libvpx.spec +++ b/packaging/libvpx.spec @@ -1,5 +1,5 @@ Name: libvpx -Version: 1.3.0 +Version: 1.3.1 Release: 0 License: BSD-2.0 Summary: VP8 codec library -- 2.7.4