From 39e6ffda3a24c7f2385930b61135d11000b62b62 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Thu, 8 Mar 2001 17:14:36 +0000 Subject: [PATCH] Add procedures to allocate strings without garbage collecting. --- v7/src/microcode/string.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v7/src/microcode/string.c b/v7/src/microcode/string.c index 0f0f1977a..732e5bc37 100644 --- a/v7/src/microcode/string.c +++ b/v7/src/microcode/string.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: string.c,v 9.43 2001/03/08 17:13:59 cph Exp $ +$Id: string.c,v 9.44 2001/03/08 17:14:36 cph Exp $ Copyright (c) 1987-2001 Massachusetts Institute of Technology @@ -87,7 +87,7 @@ SCHEME_OBJECT DEFUN (char_pointer_to_string, (char_pointer), CONST unsigned char * char_pointer) { - unsigned char * scan = char_pointer; + CONST unsigned char * scan = char_pointer; if (scan == 0) scan += 1; else @@ -100,7 +100,7 @@ SCHEME_OBJECT DEFUN (char_pointer_to_string_no_gc, (char_pointer), CONST unsigned char * char_pointer) { - unsigned char * scan = char_pointer; + CONST unsigned char * scan = char_pointer; if (scan == 0) scan += 1; else -- 2.25.1