Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/libobjc Don't use inline in C sources...
details: https://anonhg.NetBSD.org/src/rev/22232a6fbe90
branches: trunk
changeset: 328982:22232a6fbe90
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Apr 26 22:38:09 2014 +0000
description:
Don't use inline in C sources, it will certainly not work correctly with
a C99 compiler.
diffstat:
external/gpl3/gcc/dist/libobjc/encoding.c | 3 ---
external/gpl3/gcc/dist/libobjc/objects.c | 1 -
external/gpl3/gcc/dist/libobjc/sendmsg.c | 3 ---
3 files changed, 0 insertions(+), 7 deletions(-)
diffs (65 lines):
diff -r 6f471ab3f9fb -r 22232a6fbe90 external/gpl3/gcc/dist/libobjc/encoding.c
--- a/external/gpl3/gcc/dist/libobjc/encoding.c Sat Apr 26 22:10:40 2014 +0000
+++ b/external/gpl3/gcc/dist/libobjc/encoding.c Sat Apr 26 22:38:09 2014 +0000
@@ -648,7 +648,6 @@
occurring in method prototype encodings.
*/
-inline
const char *
objc_skip_type_qualifiers (const char *type)
{
@@ -666,7 +665,6 @@
return type;
}
-inline
const char *
objc_skip_typespec (const char *type)
{
@@ -801,7 +799,6 @@
Skip an offset as part of a method encoding. This is prepended by a
'+' if the argument is passed in registers.
*/
-inline
const char *
objc_skip_offset (const char *type)
{
diff -r 6f471ab3f9fb -r 22232a6fbe90 external/gpl3/gcc/dist/libobjc/objects.c
--- a/external/gpl3/gcc/dist/libobjc/objects.c Sat Apr 26 22:10:40 2014 +0000
+++ b/external/gpl3/gcc/dist/libobjc/objects.c Sat Apr 26 22:38:09 2014 +0000
@@ -36,7 +36,6 @@
#endif
/* FIXME: The semantics of extraBytes are not really clear. */
-inline
id
class_createInstance (Class class, size_t extraBytes)
{
diff -r 6f471ab3f9fb -r 22232a6fbe90 external/gpl3/gcc/dist/libobjc/sendmsg.c
--- a/external/gpl3/gcc/dist/libobjc/sendmsg.c Sat Apr 26 22:10:40 2014 +0000
+++ b/external/gpl3/gcc/dist/libobjc/sendmsg.c Sat Apr 26 22:38:09 2014 +0000
@@ -105,7 +105,6 @@
id nil_method (id, SEL);
/* Given a selector, return the proper forwarding implementation. */
-inline
IMP
__objc_get_forward_imp (id rcv, SEL sel)
{
@@ -320,7 +319,6 @@
return res;
}
-inline
IMP
get_imp (Class class, SEL sel)
{
@@ -364,7 +362,6 @@
method can be forwarded. Since this requires the dispatch table to
installed, this function will implicitly invoke +initialize for the
class of OBJECT if it hasn't been invoked yet. */
-inline
BOOL
__objc_responds_to (id object, SEL sel)
{
Home |
Main Index |
Thread Index |
Old Index