diff options
author | Gary Houston <ghouston@arglist.com> | 1996-09-28 19:40:54 +0000 |
---|---|---|
committer | Gary Houston <ghouston@arglist.com> | 1996-09-28 19:40:54 +0000 |
commit | dbece3a2044c38c7a9c18014cf8d9162d2787b62 (patch) | |
tree | a0826f6a8bbbc42e087137171ed69ece193a0baa /libguile/strings.h | |
parent | 5552355a7bf0e34dd9eee54c7384114295b96d7a (diff) | |
download | guile-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.h')
-rw-r--r-- | libguile/strings.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/strings.h b/libguile/strings.h index 22b3354e4..e122d1af9 100644 --- a/libguile/strings.h +++ b/libguile/strings.h @@ -65,8 +65,8 @@ extern SCM scm_makstr (long len, int slots); extern SCM scm_makfromstrs (int argc, char **argv); extern SCM scm_take0str (char * it); extern SCM scm_makfromstr (const char *src, scm_sizet len, int slots); -extern SCM scm_makfrom0str (char *src); -extern SCM scm_makfrom0str_opt (char *src); +extern SCM scm_makfrom0str (const char *src); +extern SCM scm_makfrom0str_opt (const char *src); extern SCM scm_make_string (SCM k, SCM chr); extern SCM scm_string_length (SCM str); extern SCM scm_string_ref (SCM str, SCM k); |