summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2013-11-27 19:36:46 +0100
committerAndy Wingo <wingo@pobox.com>2013-11-27 19:36:46 +0100
commit6a9d9e3a625f6fc844eed7c74339df1c95981a38 (patch)
tree0423b8c6d016365caf51f9169327656faffc0b77
parent05326efbb1edae065b31fdc483aab7d810f7c002 (diff)
downloadguile-6a9d9e3a625f6fc844eed7c74339df1c95981a38.tar.gz
Declare scm_i_open_file to silence a warning
* libguile/fports.c (scm_i_open_file): Declare.
-rw-r--r--libguile/fports.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libguile/fports.c b/libguile/fports.c
index 13d1dd732..dc3d45ce4 100644
--- a/libguile/fports.c
+++ b/libguile/fports.c
@@ -470,6 +470,8 @@ scm_open_file (SCM filename, SCM mode)
static SCM k_guess_encoding = SCM_UNDEFINED;
static SCM k_encoding = SCM_UNDEFINED;
+SCM_INTERNAL SCM scm_i_open_file (SCM, SCM, SCM);
+
SCM_DEFINE (scm_i_open_file, "open-file", 2, 0, 1,
(SCM filename, SCM mode, SCM keyword_args),
"Open the file whose name is @var{filename}, and return a port\n"