changeset 109509:4b7ca75642a8

Make internal_self_insert static * cmds.c (internal_self_insert): Make static. * lisp.h (internal_self_insert): Remove declaration.
author Andreas Schwab <schwab@linux-m68k.org>
date Sat, 24 Jul 2010 17:21:56 +0200
parents 6719c75fa3ac
children fb2c5240d81c
files src/ChangeLog src/cmds.c src/lisp.h
diffstat 3 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Jul 24 15:43:48 2010 +0200
+++ b/src/ChangeLog	Sat Jul 24 17:21:56 2010 +0200
@@ -1,3 +1,8 @@
+2010-07-24  Andreas Schwab  <schwab@linux-m68k.org>
+
+	* cmds.c (internal_self_insert): Make static.
+	* lisp.h (internal_self_insert): Remove declaration.
+
 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
 
 	* alloc.c (free_float):
--- a/src/cmds.c	Sat Jul 24 15:43:48 2010 +0200
+++ b/src/cmds.c	Sat Jul 24 17:21:56 2010 +0200
@@ -45,6 +45,8 @@
 
 extern Lisp_Object Qface;
 extern Lisp_Object Vtranslation_table_for_input;
+
+static int internal_self_insert (int, int);
 
 DEFUN ("forward-point", Fforward_point, Sforward_point, 1, 1, 0,
        doc: /* Return buffer position N characters after (before if N negative) point.  */)
@@ -347,7 +349,7 @@
 
 static Lisp_Object Qexpand_abbrev;
 
-int
+static int
 internal_self_insert (int c, int noautofill)
 {
   int hairy = 0;
--- a/src/lisp.h	Sat Jul 24 15:43:48 2010 +0200
+++ b/src/lisp.h	Sat Jul 24 17:21:56 2010 +0200
@@ -2393,7 +2393,6 @@
 EXFUN (Fend_of_line, 1);
 EXFUN (Fforward_char, 1);
 EXFUN (Fforward_line, 1);
-extern int internal_self_insert (int, int);
 extern void syms_of_cmds (void);
 extern void keys_of_cmds (void);