summaryrefslogtreecommitdiff
path: root/libguile/frames.c
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-04-05 20:15:11 +0200
committerLudovic Courtès <ludo@gnu.org>2009-04-05 20:15:11 +0200
commitda8b47478e08976ac4569a3030e43aa520e76b01 (patch)
tree772bf73114d411fc9ffd27e09dfb20c1ea40d1b1 /libguile/frames.c
parent6ab8238d99f477ee7ac12f1f1a3ec70aab3e68c7 (diff)
downloadguile-da8b47478e08976ac4569a3030e43aa520e76b01.tar.gz
Avoid uses of deprecated forms in the VM code.
Reported by Daniel Kraft <d@domob.eu>. * libguile/frames.c, libguile/vm.c: Include <stdlib.h>, use `size_t' instead of `scm_sizet'. * libguile/objcodes.c, libguile/programs.c, libguile/vm-engine.c, libguile/vm-i-loader.c, libguile/vm-i-system.c: Use `scm_list_X ()' instead of the deprecated `SCM_LISTX ()'.
Diffstat (limited to 'libguile/frames.c')
-rw-r--r--libguile/frames.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libguile/frames.c b/libguile/frames.c
index eb3bc22ee..f53cade95 100644
--- a/libguile/frames.c
+++ b/libguile/frames.c
@@ -43,6 +43,7 @@
# include <config.h>
#endif
+#include <stdlib.h>
#include <string.h>
#include "vm-bootstrap.h"
#include "frames.h"
@@ -85,7 +86,7 @@ vm_frame_mark (SCM obj)
return SCM_VM_FRAME_STACK_HOLDER (obj);
}
-static scm_sizet
+static size_t
vm_frame_free (SCM obj)
{
struct scm_vm_frame *p = SCM_VM_FRAME_DATA (obj);