From b50006381b652e60c87aaf47148cdf7b2aebca2a Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Thu, 6 Feb 2014 14:23:29 +0900 Subject: [PATCH] remove unnecessary argument names in prototype --- include/picrin.h | 8 ++++---- include/picrin/irep.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/picrin.h b/include/picrin.h index 2043cd11..6cd0182c 100644 --- a/include/picrin.h +++ b/include/picrin.h @@ -156,8 +156,8 @@ const char *pic_symbol_name(pic_state *, pic_sym); pic_sym pic_gensym(pic_state *, pic_sym); bool pic_interned_p(pic_state *, pic_sym); -char *pic_strdup(pic_state *pic, const char *s); -char *pic_strndup(pic_state *pic, const char *s, size_t n); +char *pic_strdup(pic_state *, const char *); +char *pic_strndup(pic_state *, const char *, size_t); struct pic_string *pic_str_new(pic_state *, const char *, size_t); struct pic_string *pic_str_new_cstr(pic_state *, const char *); @@ -171,8 +171,8 @@ pic_value pic_parse(pic_state *, const char *); pic_value pic_load(pic_state *, const char *); -pic_value pic_apply(pic_state *pic, struct pic_proc *, pic_value); -pic_value pic_apply_argv(pic_state *pic, struct pic_proc *, size_t, ...); +pic_value pic_apply(pic_state *, struct pic_proc *, pic_value); +pic_value pic_apply_argv(pic_state *, struct pic_proc *, size_t, ...); pic_value pic_trampoline(pic_state *, struct pic_proc *, pic_value); struct pic_proc *pic_compile(pic_state *, pic_value); pic_value pic_macroexpand(pic_state *, pic_value); diff --git a/include/picrin/irep.h b/include/picrin/irep.h index 7de2b5a2..aebe78ef 100644 --- a/include/picrin/irep.h +++ b/include/picrin/irep.h @@ -70,7 +70,7 @@ struct pic_irep { }; pic_value pic_analyze(pic_state *, pic_value); -struct pic_irep *pic_codegen(pic_state *pic, pic_value obj); +struct pic_irep *pic_codegen(pic_state *, pic_value); void pic_dump_irep(pic_state *, struct pic_irep *);