diff src/buffer.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 a8d8f419b459
children ecf1ebac70d8
line wrap: on
line diff
--- a/src/buffer.h	Wed Oct 13 21:52:14 2004 +0000
+++ b/src/buffer.h	Thu Oct 14 17:26:25 2004 +0000
@@ -511,7 +511,7 @@
 
 DECLARE_INLINE_HEADER (
 Bytebpos
-prev_bytebpos (struct buffer *buf, Bytebpos x)
+prev_bytebpos (struct buffer *USED_IF_MULE_OR_CHECK_TEXT (buf), Bytebpos x)
 )
 {
   DEC_BYTEBPOS (buf, x);
@@ -520,7 +520,7 @@
 
 DECLARE_INLINE_HEADER (
 Bytebpos
-next_bytebpos (struct buffer *buf, Bytebpos x)
+next_bytebpos (struct buffer *USED_IF_MULE_OR_CHECK_TEXT (buf), Bytebpos x)
 )
 {
   INC_BYTEBPOS (buf, x);
@@ -610,7 +610,8 @@
 
 DECLARE_INLINE_HEADER (
 Bytebpos
-charbpos_to_bytebpos (struct buffer *buf, Charbpos x)
+charbpos_to_bytebpos (struct buffer *USED_IF_MULE_OR_CHECK_TEXT (buf),
+		      Charbpos x)
 )
 {
   Bytebpos retval;
@@ -640,7 +641,8 @@
 
 DECLARE_INLINE_HEADER (
 Charbpos
-bytebpos_to_charbpos (struct buffer *buf, Bytebpos x)
+bytebpos_to_charbpos (struct buffer *USED_IF_MULE_OR_CHECK_TEXT (buf),
+		      Bytebpos x)
 )
 {
   Charbpos retval;