[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r111534: * src/alloc.c (free_save_val
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r111534: * src/alloc.c (free_save_value): Now static. |
Date: |
Tue, 15 Jan 2013 13:38:58 -0800 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 111534
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Tue 2013-01-15 13:38:58 -0800
message:
* src/alloc.c (free_save_value): Now static.
modified:
src/ChangeLog
src/alloc.c
src/lisp.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-01-15 10:14:31 +0000
+++ b/src/ChangeLog 2013-01-15 21:38:58 +0000
@@ -1,3 +1,7 @@
+2013-01-15 Paul Eggert <address@hidden>
+
+ * alloc.c (free_save_value): Now static.
+
2013-01-15 Dmitry Antipov <address@hidden>
* keymap.c (map_keymap_internal): Use format_save_value.
=== modified file 'src/alloc.c'
--- a/src/alloc.c 2013-01-15 09:22:25 +0000
+++ b/src/alloc.c 2013-01-15 21:38:58 +0000
@@ -209,6 +209,7 @@
static Lisp_Object Qpost_gc_hook;
+static void free_save_value (Lisp_Object);
static void mark_terminals (void);
static void gc_sweep (void);
static Lisp_Object make_pure_vector (ptrdiff_t);
@@ -3417,7 +3418,7 @@
/* Free a Lisp_Save_Value object. Do not use this function
if SAVE contains pointer other than returned by xmalloc. */
-void
+static void
free_save_value (Lisp_Object save)
{
xfree (XSAVE_POINTER (save, 0));
=== modified file 'src/lisp.h'
--- a/src/lisp.h 2013-01-15 09:22:25 +0000
+++ b/src/lisp.h 2013-01-15 21:38:58 +0000
@@ -3020,7 +3020,6 @@
extern ptrdiff_t inhibit_garbage_collection (void);
extern Lisp_Object format_save_value (const char *, ...);
extern Lisp_Object make_save_value (void *, ptrdiff_t);
-extern void free_save_value (Lisp_Object);
extern Lisp_Object build_overlay (Lisp_Object, Lisp_Object, Lisp_Object);
extern void free_marker (Lisp_Object);
extern void free_cons (struct Lisp_Cons *);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r111534: * src/alloc.c (free_save_value): Now static.,
Paul Eggert <=