diff --git a/gnu/dist/gcc4/libobjc/archive.c b/gnu/dist/gcc4/libobjc/archive.c index 992a69600d4a..101b6466c3af 100644 --- a/gnu/dist/gcc4/libobjc/archive.c +++ b/gnu/dist/gcc4/libobjc/archive.c @@ -351,7 +351,7 @@ objc_write_use_common (struct objc_typed_stream *stream, unsigned long key) } } -static inline int +inline int __objc_write_extension (struct objc_typed_stream *stream, unsigned char code) { if (code <= _B_VALUE) @@ -367,7 +367,7 @@ __objc_write_extension (struct objc_typed_stream *stream, unsigned char code) } } -inline int +static inline int __objc_write_object (struct objc_typed_stream *stream, id object) { unsigned char buf = '\0'; @@ -433,7 +433,7 @@ objc_write_object (struct objc_typed_stream *stream, id object) } } -inline int +static inline int __objc_write_class (struct objc_typed_stream *stream, struct objc_class *class) { __objc_write_extension (stream, _BX_CLASS); diff --git a/gnu/dist/gcc4/libobjc/sendmsg.c b/gnu/dist/gcc4/libobjc/sendmsg.c index 63930c8d3640..9551f799899c 100644 --- a/gnu/dist/gcc4/libobjc/sendmsg.c +++ b/gnu/dist/gcc4/libobjc/sendmsg.c @@ -86,7 +86,7 @@ Method_t search_for_method_in_list (MethodList_t list, SEL op); id nil_method (id, SEL); /* Given a selector, return the proper forwarding implementation. */ -inline +static inline IMP __objc_get_forward_imp (SEL sel) {