1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-09 21:40:33 +02:00

Declare scm_i_open_file to silence a warning

* libguile/fports.c (scm_i_open_file): Declare.
This commit is contained in:
Andy Wingo 2013-11-27 19:36:46 +01:00
parent 05326efbb1
commit 6a9d9e3a62

View file

@ -470,6 +470,8 @@ scm_open_file (SCM filename, SCM mode)
static SCM k_guess_encoding = SCM_UNDEFINED; static SCM k_guess_encoding = SCM_UNDEFINED;
static SCM k_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_DEFINE (scm_i_open_file, "open-file", 2, 0, 1,
(SCM filename, SCM mode, SCM keyword_args), (SCM filename, SCM mode, SCM keyword_args),
"Open the file whose name is @var{filename}, and return a port\n" "Open the file whose name is @var{filename}, and return a port\n"