diff options
author | Keith Packard <keithp@keithp.com> | 2013-04-25 09:02:31 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-04-25 09:02:31 -0700 |
commit | e779402d531625ba4ed5d628d06c6b1e06b2ec7b (patch) | |
tree | e94b2ffd859c725b5a3c4196969f759ec557af63 /miext | |
parent | 7ab98bafc9a3426fd40f8ae693430491333ba4fc (diff) |
shadow: Define c2p_unsupported
Just make this call BUG_WARN(1) to indicate that something unexpected
happened
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'miext')
-rw-r--r-- | miext/shadow/c2p_core.h | 4 |
1 files changed, 3 insertions, 1 deletions
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) { |