Module Name:    src
Committed By:   joerg
Date:           Sat Apr 26 22:38:09 UTC 2014

Modified Files:
        src/external/gpl3/gcc/dist/libobjc: encoding.c objects.c sendmsg.c

Log Message:
Don't use inline in C sources, it will certainly not work correctly with
a C99 compiler.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/dist/libobjc/encoding.c \
    src/external/gpl3/gcc/dist/libobjc/sendmsg.c
cvs rdiff -u -r1.1.1.2 -r1.2 src/external/gpl3/gcc/dist/libobjc/objects.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/libobjc/encoding.c
diff -u src/external/gpl3/gcc/dist/libobjc/encoding.c:1.3 src/external/gpl3/gcc/dist/libobjc/encoding.c:1.4
--- src/external/gpl3/gcc/dist/libobjc/encoding.c:1.3	Sat Mar  1 09:04:13 2014
+++ src/external/gpl3/gcc/dist/libobjc/encoding.c	Sat Apr 26 22:38:09 2014
@@ -648,7 +648,6 @@ objc_promoted_size (const char *type)
   occurring in method prototype encodings.
 */
 
-inline
 const char *
 objc_skip_type_qualifiers (const char *type)
 {
@@ -666,7 +665,6 @@ objc_skip_type_qualifiers (const char *t
   return type;
 }
 
-inline
 const char *
 objc_skip_typespec (const char *type)
 {
@@ -801,7 +799,6 @@ objc_skip_typespec (const char *type)
   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)
 {
Index: src/external/gpl3/gcc/dist/libobjc/sendmsg.c
diff -u src/external/gpl3/gcc/dist/libobjc/sendmsg.c:1.3 src/external/gpl3/gcc/dist/libobjc/sendmsg.c:1.4
--- src/external/gpl3/gcc/dist/libobjc/sendmsg.c:1.3	Sat Mar  1 09:04:13 2014
+++ src/external/gpl3/gcc/dist/libobjc/sendmsg.c	Sat Apr 26 22:38:09 2014
@@ -105,7 +105,6 @@ struct objc_method * search_for_method_i
 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 @@ get_implementation (id receiver, Class c
   return res;
 }
 
-inline
 IMP
 get_imp (Class class, SEL sel)
 {
@@ -364,7 +362,6 @@ method_get_imp (struct objc_method * met
    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)
 {

Index: src/external/gpl3/gcc/dist/libobjc/objects.c
diff -u src/external/gpl3/gcc/dist/libobjc/objects.c:1.1.1.2 src/external/gpl3/gcc/dist/libobjc/objects.c:1.2
--- src/external/gpl3/gcc/dist/libobjc/objects.c:1.1.1.2	Sat Mar  1 08:43:36 2014
+++ src/external/gpl3/gcc/dist/libobjc/objects.c	Sat Apr 26 22:38:09 2014
@@ -36,7 +36,6 @@ see the files COPYING3 and COPYING.RUNTI
 #endif
 
 /* FIXME: The semantics of extraBytes are not really clear.  */
-inline
 id
 class_createInstance (Class class, size_t extraBytes)
 {

Reply via email to