From e779402d531625ba4ed5d628d06c6b1e06b2ec7b Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 25 Apr 2013 09:02:31 -0700 Subject: [PATCH] shadow: Define c2p_unsupported Just make this call BUG_WARN(1) to indicate that something unexpected happened Signed-off-by: Keith Packard --- miext/shadow/c2p_core.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/miext/shadow/c2p_core.h b/miext/shadow/c2p_core.h index 252f93ea7..a48e223d2 100644 --- a/miext/shadow/c2p_core.h +++ b/miext/shadow/c2p_core.h @@ -41,7 +41,9 @@ static inline void _transp(CARD32 d[], unsigned int i1, unsigned int i2, } -extern void c2p_unsupported(void); +static inline void c2p_unsupported(void) { + BUG_WARN(1); +} static inline CARD32 get_mask(unsigned int n) {