qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] cocoa.m: fix missing type declarations


From: Joachim Henke
Subject: [Qemu-devel] [PATCH] cocoa.m: fix missing type declarations
Date: 21 May 2006 08:50 UT

In the function header of 'CustomApplicationMain', the types of 'argc' and 'argv' are not declared so gcc expects them to be int, which is of course wrong for 'argv'. We can safely remove these parameters since they are not used in the function, and are globally available in 'gArgc' and 'gArgv' anyway.

Regards,
Jo.

--
Joachim Henke
http://he-jo.net/

Attachment: cocoa-fix-1.diff
Description: Binary data


reply via email to

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