summaryrefslogtreecommitdiff
path: root/libguile/strings.c
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2008-02-07 09:54:47 +0000
committerLudovic Courtès <ludo@gnu.org>2008-02-07 09:54:47 +0000
commit7f74cf9a67398b58412cd40ff589a5a7cf22e74b (patch)
tree2ebb5dd3172801ce8a440de470e4a8a33800ffde /libguile/strings.c
parent86a597f8b38ecc9de563977aa150ddff3771cadc (diff)
downloadguile-7f74cf9a67398b58412cd40ff589a5a7cf22e74b.tar.gz
More compilation fixes with Sun CC (bug #21378).
Diffstat (limited to 'libguile/strings.c')
-rw-r--r--libguile/strings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/strings.c b/libguile/strings.c
index 947bcb498..c322132fd 100644
--- a/libguile/strings.c
+++ b/libguile/strings.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995,1996,1998,2000,2001, 2004, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1998,2000,2001, 2004, 2006, 2008 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -124,7 +124,7 @@ make_stringbuf (size_t len)
/* Return a new stringbuf whose underlying storage consists of the LEN+1
octets pointed to by STR (the last octet is zero). */
-SCM_C_INLINE_KEYWORD SCM
+SCM
scm_i_take_stringbufn (char *str, size_t len)
{
scm_gc_register_collectable_memory (str, len + 1, "stringbuf");