diff src/text.h @ 2333:ba4677f54a05

[xemacs-hg @ 2004-10-14 17:26:18 by james] More unused parameter fixes.
author james
date Thu, 14 Oct 2004 17:26:25 +0000
parents 04bc9d2f42c7
children ecf1ebac70d8
line wrap: on
line diff
--- a/src/text.h	Wed Oct 13 21:52:14 2004 +0000
+++ b/src/text.h	Thu Oct 14 17:26:25 2004 +0000
@@ -753,7 +753,8 @@
      
 DECLARE_INLINE_HEADER (
 Bytecount
-itext_ichar_len_fmt (const Ibyte *ptr, Internal_Format fmt)
+itext_ichar_len_fmt (const Ibyte *USED_IF_MULE_OR_CHECK_TEXT (ptr),
+		     Internal_Format fmt)
 )
 {
   switch (fmt)
@@ -1122,7 +1123,8 @@
 /* Convert a byte index into a string into a char index. */
 DECLARE_INLINE_HEADER (
 Charcount
-string_index_byte_to_char (Lisp_Object s, Bytecount idx)
+string_index_byte_to_char (Lisp_Object USED_IF_MULE_OR_CHECK_TEXT (s),
+			   Bytecount idx)
 )
 {
   Charcount retval;
@@ -1149,7 +1151,8 @@
 /* Convert a char index into a string into a byte index. */
 DECLARE_INLINE_HEADER (
 Bytecount
-string_index_char_to_byte (Lisp_Object s, Charcount idx)
+string_index_char_to_byte (Lisp_Object USED_IF_MULE_OR_CHECK_TEXT (s),
+			   Charcount idx)
 )
 {
   Bytecount retval;
@@ -1176,7 +1179,9 @@
    chars. */
 DECLARE_INLINE_HEADER (
 Charcount
-string_offset_byte_to_char_len (Lisp_Object s, Bytecount off, Bytecount len)
+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)
 )
 {
   Charcount retval;
@@ -1205,7 +1210,9 @@
    bytes. */
 DECLARE_INLINE_HEADER (
 Bytecount
-string_offset_char_to_byte_len (Lisp_Object s, Bytecount off, Charcount len)
+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)
 )
 {
   Bytecount retval;