[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Remove extern inline
From: |
Paul Brook |
Subject: |
[Qemu-devel] Remove extern inline |
Date: |
Wed, 2 Mar 2005 13:57:28 +0000 |
User-agent: |
KMail/1.7.2 |
"extern inline" is a particularly unintuitive bit of C syntax where the kernel
and gcc developers disagreed on it's semantics. It was originally in the
kernel used to guarantee that a particular routine is inlined. gcc not longer
guarantees this, resulting in a compiler error if the routine is not inlined
(eg. when compiling with -O0).
The attached patch changes the arm fpa11 emulation code to use "static inline"
instead of "extern inline". The comments indicate that the code does not rely
on inlining for correct behaviour, so this change should be safe.
Paul
patch.qemu_fpa_inline
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] Remove extern inline,
Paul Brook <=