summaryrefslogtreecommitdiff
path: root/src/frames.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2008-08-20 14:32:36 -0700
committerAndy Wingo <wingo@pobox.com>2008-08-20 14:32:36 -0700
commitfcd4901bef43fb17ab245e70ac420249bb951ef6 (patch)
treef34c4f022df8f20ec82db73c84050da4a25376ca /src/frames.h
parent22e95889ffb32ac09b799ef23df8b4eaeb3face3 (diff)
downloadguile-fcd4901bef43fb17ab245e70ac420249bb951ef6.tar.gz
fix some compilation warnings, in anticipation of moving to libguile/
* src/Makefile.am: Use standard guile CFLAGS, which has -Werror and -Wmissing-prototypes. * src/frames.h: * src/instructions.h: * src/objcodes.h: * src/programs.h: * src/vm.h: * src/vm.c: Fix warnings, mostly about prototypes. * src/vm_system.c: Fix a tricky x-is-not-initialized error. Thanks, GCC!
Diffstat (limited to 'src/frames.h')
-rw-r--r--src/frames.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/frames.h b/src/frames.h
index b0ac0c79a..a7292ff74 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -104,6 +104,13 @@ extern scm_t_bits scm_tc16_heap_frame;
#define SCM_HEAP_FRAME_POINTER(f) (SCM_HEAP_FRAME_DATA (f) + 2)
#define SCM_VALIDATE_HEAP_FRAME(p,x) SCM_MAKE_VALIDATE (p, x, HEAP_FRAME_P)
+extern SCM scm_frame_program (SCM frame);
+extern SCM scm_frame_local_ref (SCM frame, SCM index);
+extern SCM scm_frame_local_set_x (SCM frame, SCM index, SCM val);
+extern SCM scm_frame_return_address (SCM frame);
+extern SCM scm_frame_dynamic_link (SCM frame);
+extern SCM scm_frame_external_link (SCM frame);
+
extern SCM scm_c_make_heap_frame (SCM *fp);
extern void scm_bootstrap_frames (void);
extern void scm_init_frames (void);