- Mention code-cleanup possibilities in TODO.
This commit is contained in:
parent
dd9dce104d
commit
2677cf1b0a
1 changed files with 11 additions and 0 deletions
11
TODO
11
TODO
|
@ -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
|
||||||
|
---
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue