summaryrefslogtreecommitdiff
path: root/libguile/options.h
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@lilypond.org>2007-01-19 19:26:36 +0000
committerHan-Wen Nienhuys <hanwen@lilypond.org>2007-01-19 19:26:36 +0000
commit62560650136f8c1a321a754e5081e323009b812a (patch)
treee20bd1417e43f56b818c79fd5059a61a036532e2 /libguile/options.h
parent42ddb3cb8b30a2bba45c4ef9bf29d3ab04c6cc45 (diff)
downloadguile-62560650136f8c1a321a754e5081e323009b812a.tar.gz
* readline.c: terminate option list with NULL.
* read.c: idem. * print.c: idem. * eval.c: terminate option lists with 0. * options.c: remove n (for length) from scm_option_X functions. Detect option list length by looking for NULL name.
Diffstat (limited to 'libguile/options.h')
-rw-r--r--libguile/options.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/options.h b/libguile/options.h
index 650081cd2..71761245e 100644
--- a/libguile/options.h
+++ b/libguile/options.h
@@ -40,8 +40,8 @@ typedef struct scm_t_option
#define SCM_OPTION_SCM 2
-SCM_API SCM scm_options (SCM, scm_t_option [], unsigned int, const char*);
-SCM_API void scm_init_opts (SCM (*) (SCM), scm_t_option [], unsigned int n);
+SCM_API SCM scm_options (SCM, scm_t_option [], const char*);
+SCM_API void scm_init_opts (SCM (*) (SCM), scm_t_option []);
SCM_API void scm_init_options (void);
#endif /* SCM_OPTIONS_H */