fix: If it has multiple declarations multiple times

Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>