Re: minor header change in src/bin/dd/misc.c
Mike Barcroft <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.audit |
|---|---|
| Organization | The FreeBSD Project |
| Message-ID | <[email protected]> |
Giorgos Keramidas <[email protected]> writes: > The source of bin/dd/misc.c doesn't use any of the functions of > <strings.h> but uses strlen, which is defined in <string.h>. The > following seems to fix the only warning this file triggers for me. > Does it seem ok to you all? Yes, it's correct. <strings.h> is almost always wrong for BSD code. I removed the include of <string.h> from <strings.h> when I cleaned up those headers for POSIX compatibility, so there are probably other mis-includes throughout the system. Best regards, Mike Barcroft To Unsubscribe: send mail to [email protected] with "unsubscribe freebsd-audit" in the body of the message