aboutsummaryrefslogtreecommitdiff
path: root/silk/typedef.h
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2011-12-14 15:54:07 -0500
committerJean-Marc Valin <jmvalin@jmvalin.ca>2012-03-05 18:00:01 -0500
commit3e4afc6fd2b03616db34098d5131f7f1bd3c0e32 (patch)
tree7edf577714b071f2d08a29ffb7c128bdb35a6c80 /silk/typedef.h
parent9cca20aaafe487acc2da1912f77b35de70358640 (diff)
downloadlibopus-3e4afc6fd2b03616db34098d5131f7f1bd3c0e32.tar.gz
Removes a number of macro definitions which are used nowhere in the codebase.
Diffstat (limited to 'silk/typedef.h')
-rw-r--r--silk/typedef.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/silk/typedef.h b/silk/typedef.h
index e259d758..59090f47 100644
--- a/silk/typedef.h
+++ b/silk/typedef.h
@@ -39,8 +39,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <stdint.h>
#endif
-#define silk_int_ptr_size intptr_t
-
#if silk_USE_DOUBLE_PRECISION_FLOATS
# define silk_float double
# define silk_float_MAX DBL_MAX
@@ -63,13 +61,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define silk_int16_MIN ((opus_int16)0x8000) /* -2^15 = -32768 */
#define silk_int8_MAX 0x7F /* 2^7 - 1 = 127 */
#define silk_int8_MIN ((opus_int8)0x80) /* -2^7 = -128 */
-
-#define silk_uint32_MAX 0xFFFFFFFF /* 2^32 - 1 = 4294967295 */
-#define silk_uint32_MIN 0x00000000
-#define silk_uint16_MAX 0xFFFF /* 2^16 - 1 = 65535 */
-#define silk_uint16_MIN 0x0000
-#define silk_uint8_MAX 0xFF /* 2^8 - 1 = 255 */
-#define silk_uint8_MIN 0x00
+#define silk_uint8_MAX 0xFF /* 2^8 - 1 = 255 */
#define silk_TRUE 1
#define silk_FALSE 0