- Mention code-cleanup possibilities in TODO.

This commit is contained in:
Bernhard Reutner-Fischer 2006-01-13 08:46:39 +00:00
parent dd9dce104d
commit 2677cf1b0a

11
TODO
View File

@ -233,3 +233,14 @@ Minor stuff:
if(!ioctl (fd, WDIOC_GETTIMEOUT, &tmo)) timer_duration = 1 + (tmo / 2); if(!ioctl (fd, WDIOC_GETTIMEOUT, &tmo)) timer_duration = 1 + (tmo / 2);
Unfortunately, that needs linux/watchdog.h and that contains unfiltered Unfortunately, that needs linux/watchdog.h and that contains unfiltered
kernel types on some distros, which breaks the build. kernel types on some distros, which breaks the build.
Code cleanup:
Replace deprecated functions.
bzero() -> memset()
---
sigblock(), siggetmask(), sigsetmask(), sigmask() -> sigprocmask et al
---