diff src/syntax.c @ 111640:8bd4a845ba2a

* src/xfaces.c (lookup_face): Make static. * src/dispnew.c (copy_row_except_pointers): Likewise. * src/syntax.c (dec_bytepos): Likewise. (inc_bytepos): Remove. * src/dispextern.h (lookup_face): Remove declaration.
author Andreas Schwab <schwab@linux-m68k.org>
date Sat, 20 Nov 2010 11:07:00 +0100
parents f28cc7ff91f9
children ac49e05bfcf2
line wrap: on
line diff
--- a/src/syntax.c	Sat Nov 20 01:18:17 2010 +0000
+++ b/src/syntax.c	Sat Nov 20 11:07:00 2010 +0100
@@ -371,23 +371,10 @@
   return quoted;
 }
 
-/* Return the bytepos one character after BYTEPOS.
-   We assume that BYTEPOS is not at the end of the buffer.  */
-
-INLINE EMACS_INT
-inc_bytepos (EMACS_INT bytepos)
-{
-  if (NILP (current_buffer->enable_multibyte_characters))
-    return bytepos + 1;
-
-  INC_POS (bytepos);
-  return bytepos;
-}
-
 /* Return the bytepos one character before BYTEPOS.
    We assume that BYTEPOS is not at the start of the buffer.  */
 
-INLINE EMACS_INT
+static INLINE EMACS_INT
 dec_bytepos (EMACS_INT bytepos)
 {
   if (NILP (current_buffer->enable_multibyte_characters))