make inline internal functions static.

main
rfm 16 years ago
parent d58dad7e32
commit 9df65418f7

@ -364,7 +364,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) __objc_write_object (struct objc_typed_stream *stream, id object)
{ {
unsigned char buf = '\0'; unsigned char buf = '\0';
@ -430,7 +430,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_class (struct objc_typed_stream *stream, struct objc_class *class)
{ {
__objc_write_extension (stream, _BX_CLASS); __objc_write_extension (stream, _BX_CLASS);
@ -459,7 +459,7 @@ objc_write_class (struct objc_typed_stream *stream,
} }
inline int static inline int
__objc_write_selector (struct objc_typed_stream *stream, SEL selector) __objc_write_selector (struct objc_typed_stream *stream, SEL selector)
{ {
const char *sel_name; const char *sel_name;
@ -502,7 +502,7 @@ objc_write_selector (struct objc_typed_stream *stream, SEL selector)
** Read operations ** Read operations
*/ */
inline int static inline int
objc_read_char (struct objc_typed_stream *stream, char *val) objc_read_char (struct objc_typed_stream *stream, char *val)
{ {
unsigned char buf; unsigned char buf;
@ -529,7 +529,7 @@ objc_read_char (struct objc_typed_stream *stream, char *val)
} }
inline int static inline int
objc_read_unsigned_char (struct objc_typed_stream *stream, unsigned char *val) objc_read_unsigned_char (struct objc_typed_stream *stream, unsigned char *val)
{ {
unsigned char buf; unsigned char buf;
@ -550,7 +550,7 @@ objc_read_unsigned_char (struct objc_typed_stream *stream, unsigned char *val)
return len; return len;
} }
inline int static inline int
objc_read_short (struct objc_typed_stream *stream, short *value) objc_read_short (struct objc_typed_stream *stream, short *value)
{ {
unsigned char buf[sizeof (short) + 1]; unsigned char buf[sizeof (short) + 1];
@ -578,7 +578,7 @@ objc_read_short (struct objc_typed_stream *stream, short *value)
return len; return len;
} }
inline int static inline int
objc_read_unsigned_short (struct objc_typed_stream *stream, objc_read_unsigned_short (struct objc_typed_stream *stream,
unsigned short *value) unsigned short *value)
{ {
@ -606,7 +606,7 @@ objc_read_unsigned_short (struct objc_typed_stream *stream,
} }
inline int static inline int
objc_read_int (struct objc_typed_stream *stream, int *value) objc_read_int (struct objc_typed_stream *stream, int *value)
{ {
unsigned char buf[sizeof (int) + 1]; unsigned char buf[sizeof (int) + 1];
@ -633,7 +633,7 @@ objc_read_int (struct objc_typed_stream *stream, int *value)
return len; return len;
} }
inline int static inline int
objc_read_long (struct objc_typed_stream *stream, long *value) objc_read_long (struct objc_typed_stream *stream, long *value)
{ {
unsigned char buf[sizeof (long) + 1]; unsigned char buf[sizeof (long) + 1];
@ -660,7 +660,7 @@ objc_read_long (struct objc_typed_stream *stream, long *value)
return len; return len;
} }
inline int static inline int
__objc_read_nbyte_uint (struct objc_typed_stream *stream, __objc_read_nbyte_uint (struct objc_typed_stream *stream,
unsigned int nbytes, unsigned int *val) unsigned int nbytes, unsigned int *val)
{ {
@ -679,7 +679,7 @@ __objc_read_nbyte_uint (struct objc_typed_stream *stream,
} }
inline int static inline int
objc_read_unsigned_int (struct objc_typed_stream *stream, objc_read_unsigned_int (struct objc_typed_stream *stream,
unsigned int *value) unsigned int *value)
{ {
@ -716,7 +716,7 @@ __objc_read_nbyte_ulong (struct objc_typed_stream *stream,
} }
inline int static inline int
objc_read_unsigned_long (struct objc_typed_stream *stream, objc_read_unsigned_long (struct objc_typed_stream *stream,
unsigned long *value) unsigned long *value)
{ {
@ -734,7 +734,7 @@ objc_read_unsigned_long (struct objc_typed_stream *stream,
return len; return len;
} }
inline int static inline int
objc_read_string (struct objc_typed_stream *stream, objc_read_string (struct objc_typed_stream *stream,
char **string) char **string)
{ {

Loading…
Cancel
Save