Drop useless "inline", fixes clang builds

This commit is contained in:
jca 2017-05-03 19:18:27 +00:00
parent bcc991c3bf
commit 36135f57db

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-wmgeneral_list_h,v 1.1 2017/05/03 19:18:27 jca Exp $
--- wmgeneral/list.h.orig
+++ wmgeneral/list.h
@@ -29,9 +29,7 @@ Boston, MA 02111-1307, USA. */
#ifndef __LIST_H_
#define __LIST_H_
-#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
-# define INLINE inline
-#else
+#if 1
# define INLINE
#endif