summaryrefslogtreecommitdiff
path: root/libobjc/archive.c
diff options
context:
space:
mode:
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-26 14:32:45 +0000
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-26 14:32:45 +0000
commit14df393a39bca65c2b98334837c3c0695a326133 (patch)
treefbe3659629931937d021d3175cd2f6e0f11eac9f /libobjc/archive.c
parent9f16e0f700f70c3778446acd34ca5060106b6fd2 (diff)
downloadgcc-14df393a39bca65c2b98334837c3c0695a326133.tar.gz
2010-09-26 Kai Tietz <kai.tietz@onevision.com>
* sendmsg.c (get_imp): Remove inline. (objc_msg_lookup): Likewise. (objc_get_uninstalled_dtable): Likewise. * encoding.c (objc_skip_type_qualifiers): Likewise. (objc_skip_offset): Likewise. * archive.c (__objc_write_object): Likewise (__objc_write_class): (__objc_write_selector): (objc_read_char): (objc_read_unsigned_char): (objc_read_short): (objc_read_unsigned_short): (objc_read_int): (objc_read_long): (__objc_read_nbyte_uint): (objc_read_unsigned_int): (objc_read_unsigned_long): * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case. (objc_EXPORT): Likewise. * objc/message.h (objc-decls.h): Add include. * objc/objc-api.h: Mark API by objc_EXPORT. * libobjc.def (__objc_responds_to): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164632 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/archive.c')
-rw-r--r--libobjc/archive.c26
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)
{