<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,11 +2,12 @@
  * Copyright 2005 Timo Hirvonen
  */
 
-#ifndef _COMPILER_H
-#define _COMPILER_H
+#ifndef COMPILER_H
+#define COMPILER_H
 
-#if defined(__GNUC__) &amp;&amp; ((__GNUC__ == 3 &amp;&amp; __GNUC_MINOR__ &gt;= 4) || (__GNUC__ &gt;= 4))
-/* gcc &gt;= 3.4 */
+/*
+ * GCC 2.96 or compatible required
+ */
 
 /* Optimization: Condition @x is likely */
 #define likely(x)	__builtin_expect(!!(x), 1)
@@ -14,68 +15,21 @@
 /* Optimization: Condition @x is unlikely */
 #define unlikely(x)	__builtin_expect(!!(x), 0)
 
-/* Never inline */
-#define noinline		__attribute__((__noinline__))
-
-/* Optimization: Function depends on arguments and/or global data
- * Only side effect is return value
- */
-#define __PURE			__attribute__((__pure__))
-
-/* Optimization: Function MUST NOT reference pointer args or read global data
- * Only side effect is return value
- */
-#define __CONST			__attribute__((__const__))
-
-/* Optimization: Pointer returned can't alias other pointers */
-#define __MALLOC		__attribute__((__malloc__))
-
 /* Optimization: Function never returns */
-#define __NORETURN		__attribute__((__noreturn__))
-
-/* Must check return value */
-#define __CHECK_RESULT		__attribute__((__warn_unused_result__))
-
-/* Mark symbol deprecated */
-#define __DEPRECATED		__attribute__((__deprecated__))
-
-/* Mark symbol used */
-#define __USED			__attribute__((__used__))
-
-/* Mark symbol possibly unused */
-#define __UNUSED		__attribute__((__unused__))
-
-/* Argument at index @idx must not be NULL */
-#define __NONNULL(idx)		__attribute__((__nonnull__(idx)))
-
-/* All arguments must be non-NULL */
-#define __ALL_NONNULL		__attribute__((__nonnull__))
+#define __NORETURN	__attribute__((__noreturn__))
 
 /* Argument at index @fmt_idx is printf compatible format string and
  * argument at index @first_idx is the first format argument */
 #define __FORMAT(fmt_idx, first_idx) __attribute__((format(printf, (fmt_idx), (first_idx))))
 
-#else
-/* gcc &lt; 3.4 or not gcc */
+#if defined(__GNUC__) &amp;&amp; (__GNUC__ &gt;= 3)
 
-#define likely(x)	(x)
-#define unlikely(x)	(x)
+/* Optimization: Pointer returned can't alias other pointers */
+#define __MALLOC	__attribute__((__malloc__))
 
-#define noinline
+#else
 
-#define __PURE
-#define __CONST
 #define __MALLOC
-#define __NORETURN
-#define __CHECK_RESULT
-
-#define __DEPRECATED
-#define __USED
-#define __UNUSED
-
-#define __NONNULL(a)
-#define __ALL_NONNULL
-#define __FORMAT(fmt_idx, first_idx)
 
 #endif
 </diff>
      <filename>compiler.h</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>86d9474e6bd973c38b1dfa2298036ad8513d8c2c</id>
    </parent>
  </parents>
  <author>
    <name>Timo Hirvonen</name>
    <email>tihirvon@gmail.com</email>
  </author>
  <url>http://github.com/JasonWoof/cmus-unofficial/commit/fe43287be18210171b4d8ede87fd073235810db4</url>
  <id>fe43287be18210171b4d8ede87fd073235810db4</id>
  <committed-date>2005-12-17T10:48:02-08:00</committed-date>
  <authored-date>2005-12-17T10:48:02-08:00</authored-date>
  <message>Remove unneeded defines from compiler.h</message>
  <tree>8a6281f042c0cb666c2940f1dc6903ba66b27d8b</tree>
  <committer>
    <name>Timo Hirvonen</name>
    <email>tihirvon@gmail.com</email>
  </committer>
</commit>
