Mercurial > hg > xemacs-beta
diff src/text.h @ 4853:d35e231d347d
fix build problems
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-01-13 Ben Wing <ben@xemacs.org>
* specifier.c (specifier_instance_from_inst_list):
Don't declare an unused variable, (void) 0 is enough.
* text.h:
Don't use USED_IF_MULE_OR_CHECK_TEXT().
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Wed, 13 Jan 2010 19:43:16 -0600 |
parents | b3ea9c582280 |
children | 19a72041c5ed |
line wrap: on
line diff
--- a/src/text.h Wed Jan 13 13:30:17 2010 -0600 +++ b/src/text.h Wed Jan 13 19:43:16 2010 -0600 @@ -770,8 +770,7 @@ DECLARE_INLINE_HEADER ( Bytecount -itext_ichar_len_fmt (const Ibyte *USED_IF_MULE_OR_CHECK_TEXT (ptr), - Internal_Format fmt) +itext_ichar_len_fmt (const Ibyte *ptr, Internal_Format fmt) ) { switch (fmt) @@ -1059,8 +1058,7 @@ /* Convert a byte index into a string into a char index. */ DECLARE_INLINE_HEADER ( Charcount -string_index_byte_to_char (Lisp_Object USED_IF_MULE_OR_CHECK_TEXT (s), - Bytecount idx) +string_index_byte_to_char (Lisp_Object s, Bytecount idx) ) { Charcount retval; @@ -1087,8 +1085,7 @@ /* Convert a char index into a string into a byte index. */ DECLARE_INLINE_HEADER ( Bytecount -string_index_char_to_byte (Lisp_Object USED_IF_MULE_OR_CHECK_TEXT (s), - Charcount idx) +string_index_char_to_byte (Lisp_Object s, Charcount idx) ) { Bytecount retval; @@ -1115,9 +1112,7 @@ chars. */ DECLARE_INLINE_HEADER ( Charcount -string_offset_byte_to_char_len (Lisp_Object USED_IF_MULE_OR_CHECK_TEXT (s), - Bytecount USED_IF_MULE_OR_CHECK_TEXT (off), - Bytecount len) +string_offset_byte_to_char_len (Lisp_Object s, Bytecount off, Bytecount len) ) { Charcount retval; @@ -1146,9 +1141,7 @@ bytes. */ DECLARE_INLINE_HEADER ( Bytecount -string_offset_char_to_byte_len (Lisp_Object USED_IF_MULE_OR_CHECK_TEXT (s), - Bytecount USED_IF_MULE_OR_CHECK_TEXT (off), - Charcount len) +string_offset_char_to_byte_len (Lisp_Object s, Bytecount off, Charcount len) ) { Bytecount retval;