diff options
Diffstat (limited to 'libobjc/archive.c')
-rw-r--r-- | libobjc/archive.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libobjc/archive.c b/libobjc/archive.c index 9b46976fbf4..f36f1b748fb 100644 --- a/libobjc/archive.c +++ b/libobjc/archive.c @@ -372,7 +372,7 @@ __objc_write_extension (struct objc_typed_stream *stream, unsigned char code) } } -inline int +int __objc_write_object (struct objc_typed_stream *stream, id object) { unsigned char buf = '\0'; @@ -437,7 +437,7 @@ objc_write_object (struct objc_typed_stream *stream, id object) } } -inline int +int __objc_write_class (struct objc_typed_stream *stream, struct objc_class *class) { __objc_write_extension (stream, _BX_CLASS); @@ -466,7 +466,7 @@ objc_write_class (struct objc_typed_stream *stream, } -inline int +int __objc_write_selector (struct objc_typed_stream *stream, SEL selector) { const char *sel_name; @@ -509,7 +509,7 @@ objc_write_selector (struct objc_typed_stream *stream, SEL selector) ** Read operations */ -inline int +int objc_read_char (struct objc_typed_stream *stream, char *val) { unsigned char buf; @@ -535,7 +535,7 @@ objc_read_char (struct objc_typed_stream *stream, char *val) } -inline int +int objc_read_unsigned_char (struct objc_typed_stream *stream, unsigned char *val) { unsigned char buf; @@ -555,7 +555,7 @@ objc_read_unsigned_char (struct objc_typed_stream *stream, unsigned char *val) return len; } -inline int +int objc_read_short (struct objc_typed_stream *stream, short *value) { unsigned char buf[sizeof (short) + 1]; @@ -582,7 +582,7 @@ objc_read_short (struct objc_typed_stream *stream, short *value) return len; } -inline int +int objc_read_unsigned_short (struct objc_typed_stream *stream, unsigned short *value) { @@ -609,7 +609,7 @@ objc_read_unsigned_short (struct objc_typed_stream *stream, } -inline int +int objc_read_int (struct objc_typed_stream *stream, int *value) { unsigned char buf[sizeof (int) + 1]; @@ -636,7 +636,7 @@ objc_read_int (struct objc_typed_stream *stream, int *value) return len; } -inline int +int objc_read_long (struct objc_typed_stream *stream, long *value) { unsigned char buf[sizeof (long) + 1]; @@ -663,7 +663,7 @@ objc_read_long (struct objc_typed_stream *stream, long *value) return len; } -inline int +int __objc_read_nbyte_uint (struct objc_typed_stream *stream, unsigned int nbytes, unsigned int *val) { @@ -682,7 +682,7 @@ __objc_read_nbyte_uint (struct objc_typed_stream *stream, } -inline int +int objc_read_unsigned_int (struct objc_typed_stream *stream, unsigned int *value) { @@ -719,7 +719,7 @@ __objc_read_nbyte_ulong (struct objc_typed_stream *stream, } -inline int +int objc_read_unsigned_long (struct objc_typed_stream *stream, unsigned long *value) { @@ -737,7 +737,7 @@ objc_read_unsigned_long (struct objc_typed_stream *stream, return len; } -inline int +int objc_read_string (struct objc_typed_stream *stream, char **string) { |