[FYI] Remove unused declaratoin from guile

Message ID 20191128150152.10849-1-tom@tromey.com
State New
Headers show
Series
  • [FYI] Remove unused declaratoin from guile
Related show

Commit Message

Tom Tromey Nov. 28, 2019, 3:01 p.m.
guile-internal.h declares a function that is never defined.  This
removes the declaration.

gdb/ChangeLog
2019-11-28  Tom Tromey  <tom@tromey.com>

	* guile/guile-internal.h (vlscm_scm_from_value_unsafe): Don't
	declare.

Change-Id: I2dca228534bc1325d2d4bb319c31328121edecc4
---
 gdb/ChangeLog              | 5 +++++
 gdb/guile/guile-internal.h | 2 --
 2 files changed, 5 insertions(+), 2 deletions(-)

-- 
2.17.2

Patch

diff --git a/gdb/guile/guile-internal.h b/gdb/guile/guile-internal.h
index 8ea87065f9d..3ae6618a7bc 100644
--- a/gdb/guile/guile-internal.h
+++ b/gdb/guile/guile-internal.h
@@ -580,8 +580,6 @@  extern int vlscm_is_value (SCM scm);
 
 extern SCM vlscm_scm_from_value (struct value *value);
 
-extern SCM vlscm_scm_from_value_unsafe (struct value *value);
-
 extern struct value *vlscm_convert_typed_value_from_scheme
   (const char *func_name, int obj_arg_pos, SCM obj,
    int type_arg_pos, SCM type_scm, struct type *type, SCM *except_scmp,