diff options
| author | Paul Eggert | 2013-01-15 13:38:58 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-01-15 13:38:58 -0800 |
| commit | 963ea40fe96634a01b24aef4fc39acf9a4236eb7 (patch) | |
| tree | 9f4dea570aa1bbbaf068d8bc66db8f4b7cb0ba6e /src | |
| parent | 1a353a145dba49c91cdf4d2189ebe6579cae24ac (diff) | |
| download | emacs-963ea40fe96634a01b24aef4fc39acf9a4236eb7.tar.gz emacs-963ea40fe96634a01b24aef4fc39acf9a4236eb7.zip | |
* src/alloc.c (free_save_value): Now static.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/alloc.c | 3 | ||||
| -rw-r--r-- | src/lisp.h | 1 |
3 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 4574d3fe23d..115b8d42915 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-01-15 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * alloc.c (free_save_value): Now static. | ||
| 4 | |||
| 1 | 2013-01-15 Dmitry Antipov <dmantipov@yandex.ru> | 5 | 2013-01-15 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 6 | ||
| 3 | * keymap.c (map_keymap_internal): Use format_save_value. | 7 | * keymap.c (map_keymap_internal): Use format_save_value. |
diff --git a/src/alloc.c b/src/alloc.c index b83b621bc7d..7275a01bb73 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -209,6 +209,7 @@ Lisp_Object Qchar_table_extra_slots; | |||
| 209 | 209 | ||
| 210 | static Lisp_Object Qpost_gc_hook; | 210 | static Lisp_Object Qpost_gc_hook; |
| 211 | 211 | ||
| 212 | static void free_save_value (Lisp_Object); | ||
| 212 | static void mark_terminals (void); | 213 | static void mark_terminals (void); |
| 213 | static void gc_sweep (void); | 214 | static void gc_sweep (void); |
| 214 | static Lisp_Object make_pure_vector (ptrdiff_t); | 215 | static Lisp_Object make_pure_vector (ptrdiff_t); |
| @@ -3417,7 +3418,7 @@ make_save_value (void *pointer, ptrdiff_t integer) | |||
| 3417 | /* Free a Lisp_Save_Value object. Do not use this function | 3418 | /* Free a Lisp_Save_Value object. Do not use this function |
| 3418 | if SAVE contains pointer other than returned by xmalloc. */ | 3419 | if SAVE contains pointer other than returned by xmalloc. */ |
| 3419 | 3420 | ||
| 3420 | void | 3421 | static void |
| 3421 | free_save_value (Lisp_Object save) | 3422 | free_save_value (Lisp_Object save) |
| 3422 | { | 3423 | { |
| 3423 | xfree (XSAVE_POINTER (save, 0)); | 3424 | xfree (XSAVE_POINTER (save, 0)); |
diff --git a/src/lisp.h b/src/lisp.h index 1ff8f83270b..40e4821bc10 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -3020,7 +3020,6 @@ extern void display_malloc_warning (void); | |||
| 3020 | extern ptrdiff_t inhibit_garbage_collection (void); | 3020 | extern ptrdiff_t inhibit_garbage_collection (void); |
| 3021 | extern Lisp_Object format_save_value (const char *, ...); | 3021 | extern Lisp_Object format_save_value (const char *, ...); |
| 3022 | extern Lisp_Object make_save_value (void *, ptrdiff_t); | 3022 | extern Lisp_Object make_save_value (void *, ptrdiff_t); |
| 3023 | extern void free_save_value (Lisp_Object); | ||
| 3024 | extern Lisp_Object build_overlay (Lisp_Object, Lisp_Object, Lisp_Object); | 3023 | extern Lisp_Object build_overlay (Lisp_Object, Lisp_Object, Lisp_Object); |
| 3025 | extern void free_marker (Lisp_Object); | 3024 | extern void free_marker (Lisp_Object); |
| 3026 | extern void free_cons (struct Lisp_Cons *); | 3025 | extern void free_cons (struct Lisp_Cons *); |