Use avr libc for wdt cpu specific. Comply the wdt interface function. Clean code.