summaryrefslogtreecommitdiff
path: root/libguile/strings.c
diff options
context:
space:
mode:
authorGary Houston <ghouston@arglist.com>1996-09-28 19:40:54 +0000
committerGary Houston <ghouston@arglist.com>1996-09-28 19:40:54 +0000
commitdbece3a2044c38c7a9c18014cf8d9162d2787b62 (patch)
treea0826f6a8bbbc42e087137171ed69ece193a0baa /libguile/strings.c
parent5552355a7bf0e34dd9eee54c7384114295b96d7a (diff)
downloadguile-dbece3a2044c38c7a9c18014cf8d9162d2787b62.tar.gz
* strings.c, strings.h: (scm_makfrom0str, scm_makefrom0str_opt:
declare the char * to be const. Avoids a warning in rgx.c. * ports.h: spelling fix. * filesys.c (scm_sys_stat, scm_sys,lstat): include file name in error messages. * load.c (scm_sys_try_load_path): throw an error if file not found (like it says it in NEWS).
Diffstat (limited to 'libguile/strings.c')
-rw-r--r--libguile/strings.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libguile/strings.c b/libguile/strings.c
index 4472dca89..5cab941fc 100644
--- a/libguile/strings.c
+++ b/libguile/strings.c
@@ -234,11 +234,11 @@ scm_makfromstr (src, len, slots)
#ifdef __STDC__
SCM
-scm_makfrom0str (char *src)
+scm_makfrom0str (const char *src)
#else
SCM
scm_makfrom0str (src)
- char *src;
+ const char *src;
#endif
{
if (!src) return SCM_BOOL_F;
@@ -247,11 +247,11 @@ scm_makfrom0str (src)
#ifdef __STDC__
SCM
-scm_makfrom0str_opt (char *src)
+scm_makfrom0str_opt (const char *src)
#else
SCM
scm_makfrom0str_opt (src)
- char *src;
+ const char *src;
#endif
{
return scm_makfrom0str (src);