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

Re: [Xen-devel] incompatible prototypes



Keir Fraser a écrit :

On 27/4/07 09:23, "PUCCETTI Armand" <armand.puccetti@xxxxxx> wrote:

Also, it seems that in the declaration part (file vmx.c:1966) of the
following fct, some
extern are missing, and that the functions smp_event_check_interrupt and
smp_call_function_interrupt
are also incompatible with their body (in file smp.c:326 and smp.c:332)

Extern is optional on function prototypes. Asmlinkage defines away to
nothing. So there's a lack of consistency, but nothing incorrect.

 -- Keir



You're quite right on the first point. However the incompatible prototypes
might lead to errors if some of these functions are called.

Armand


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.