summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSejun Park <sejun79.park@samsung.com>2017-01-10 18:48:48 +0900
committerSejun Park <sejun79.park@samsung.com>2017-01-10 18:58:09 +0900
commitfb2f91f17d1f151ba2f315bd34aea5619f62476e (patch)
tree6168b71cfdfcb619fab0232e7ef3412ebb0ce0a2
parent159b8ff603b57bbf07ead683c66c43247f271c1a (diff)
downloadlibvpx-fb2f91f17d1f151ba2f315bd34aea5619f62476e.tar.gz
libvpx-fb2f91f17d1f151ba2f315bd34aea5619f62476e.tar.bz2
libvpx-fb2f91f17d1f151ba2f315bd34aea5619f62476e.zip
fixed build errors due to toolchain upgradesubmit/tizen/20170110.100630
Change-Id: I5d4ebfd0a0be7c23ece59283e3125f6a56cbcd44
-rw-r--r--nestegg/halloc/src/align.h5
-rw-r--r--nestegg/halloc/src/halloc.c2
-rw-r--r--packaging/libvpx.spec2
3 files changed, 4 insertions, 5 deletions
diff --git a/nestegg/halloc/src/align.h b/nestegg/halloc/src/align.h
index 4c6e1831f..9b414e846 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 38fd6c11a..5647f41f6 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 a1aa1c69e..118760d31 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