mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
16e5eb212f
1. Both trackbuf and vrfybuf are initialized to zero (NULL). While it's okay to initialize pointers to zero, to keep consistency, as they're explicitly pointers, it's better to just use NULL ((void *)0) instead of 0 (both are equivalent to the compilers). 2. Call free() for both trackbuf and vrfybuf after their job has been done. 3. Remove the register keyword. Compilers generally ignore this keyword (except for very very old compilers and CPUs). 4. Remove the ctype.h header. It's not being used anywhere in the file. Signed-off-by: rilysh <nightquick@proton.me> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1059 |
||
---|---|---|
.. | ||
fdwrite.1 | ||
fdwrite.c | ||
Makefile | ||
Makefile.depend |