Prototyped necklace.c