mirror of git://gcc.gnu.org/git/gcc.git
nil_method.c (nil_method): No longer varardic.
2002-09-10 Jan Hubicka <jh@suse.cz> * nil_method.c (nil_method): No longer varardic. From-SVN: r57001
This commit is contained in:
parent
908d0841de
commit
edf4d41e24
|
|
@ -1,3 +1,7 @@
|
||||||
|
2002-09-10 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
|
* nil_method.c (nil_method): No longer varardic.
|
||||||
|
|
||||||
2002-07-02 Rodney Brown <rbrown64@csc.com.au>
|
2002-07-02 Rodney Brown <rbrown64@csc.com.au>
|
||||||
|
|
||||||
* objc/encoding.h: Fix formatting.
|
* objc/encoding.h: Fix formatting.
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,12 @@ Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include "runtime.h"
|
#include "runtime.h"
|
||||||
|
|
||||||
|
/* nil_method is declared with variable arguments but the runtime calls it
|
||||||
|
in a way that does not setup the variable arguments correctly. Some Architectures
|
||||||
|
that have special arg calling conventions like x86-64 do need every function with
|
||||||
|
variable arguments called the correct way. */
|
||||||
id
|
id
|
||||||
nil_method (id receiver, SEL op __attribute__ ((__unused__)), ...)
|
nil_method (id receiver, SEL op __attribute__ ((__unused__)))
|
||||||
{
|
{
|
||||||
return receiver;
|
return receiver;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue