qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH trvivial] linux-user/syscall.c: replace function pointers for


From: Richard Henderson
Subject: Re: [PATCH trvivial] linux-user/syscall.c: replace function pointers for flock64 fcntl with macros
Date: Mon, 9 Sep 2024 09:19:19 -0700
User-agent: Mozilla Thunderbird

On 9/8/24 22:26, Michael Tokarev wrote:
Why do you think this is an improvement?

It just feels more natural, so to say.

What was wrong with the function pointers?

Not exactly wrong.  It just hurts my eyes when I see an address
is taken of a function marked `inline`

I'm certainly happy to fix that!

(though I understand well
this keyword is just a hint and the compiler is free to omit
inlining).  Also the typedefs are a bit ugly.

I think the macro is uglier than the typedef.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]