diff options
author | kan <kan@FreeBSD.org> | 2006-09-21 01:30:04 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2006-09-21 01:30:04 +0000 |
commit | 4c44b31e5d8cc59c1e61afd1e918c2a8380cad9d (patch) | |
tree | 20f47f1435da8a96a1b2665399c06c43a22cf576 /lib | |
parent | bedb0044a6cdb20b896d2a2ec44c0a76bd037124 (diff) | |
download | FreeBSD-src-4c44b31e5d8cc59c1e61afd1e918c2a8380cad9d.zip FreeBSD-src-4c44b31e5d8cc59c1e61afd1e918c2a8380cad9d.tar.gz |
Silence GCC4 warning.
strlen, strcmp live in <string.h> not <string.h>.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libncp/ncpl_file.c | 2 | ||||
-rw-r--r-- | lib/libncp/ncpl_misc.c | 1 | ||||
-rw-r--r-- | lib/libncp/ncpl_msg.c | 2 | ||||
-rw-r--r-- | lib/libncp/ncpl_nls.c | 2 | ||||
-rw-r--r-- | lib/libncp/ncpl_queue.c | 1 | ||||
-rw-r--r-- | lib/libncp/ncpl_rpc.c | 2 |
6 files changed, 6 insertions, 4 deletions
diff --git a/lib/libncp/ncpl_file.c b/lib/libncp/ncpl_file.c index 2ffcc46..17edeb0 100644 --- a/lib/libncp/ncpl_file.c +++ b/lib/libncp/ncpl_file.c @@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$"); #include <stdio.h> #include <fcntl.h> #include <unistd.h> -#include <strings.h> +#include <string.h> #include <netncp/ncp_lib.h> #include <netncp/ncp_file.h> diff --git a/lib/libncp/ncpl_misc.c b/lib/libncp/ncpl_misc.c index 16a54c5..dc1375b 100644 --- a/lib/libncp/ncpl_misc.c +++ b/lib/libncp/ncpl_misc.c @@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$"); #include <arpa/inet.h> #include <errno.h> #include <stdio.h> +#include <string.h> #include <strings.h> #include <netncp/ncp_lib.h> diff --git a/lib/libncp/ncpl_msg.c b/lib/libncp/ncpl_msg.c index 5af2d72..59dad8f 100644 --- a/lib/libncp/ncpl_msg.c +++ b/lib/libncp/ncpl_msg.c @@ -36,7 +36,7 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> #include <errno.h> #include <stdio.h> -#include <strings.h> +#include <string.h> #include <netncp/ncp_lib.h> #include <netncp/ncp_nls.h> diff --git a/lib/libncp/ncpl_nls.c b/lib/libncp/ncpl_nls.c index 68fae01..9fd06fe 100644 --- a/lib/libncp/ncpl_nls.c +++ b/lib/libncp/ncpl_nls.c @@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$"); #include <ctype.h> #include <errno.h> #include <stdio.h> -#include <strings.h> +#include <string.h> #include <locale.h> #include <netncp/ncp_lib.h> diff --git a/lib/libncp/ncpl_queue.c b/lib/libncp/ncpl_queue.c index 1f003a1..36564eb 100644 --- a/lib/libncp/ncpl_queue.c +++ b/lib/libncp/ncpl_queue.c @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> #include <errno.h> #include <stdio.h> +#include <string.h> #include <netncp/ncp_lib.h> int diff --git a/lib/libncp/ncpl_rpc.c b/lib/libncp/ncpl_rpc.c index f2240e3..eaa6ebf 100644 --- a/lib/libncp/ncpl_rpc.c +++ b/lib/libncp/ncpl_rpc.c @@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$"); #include <arpa/inet.h> #include <errno.h> #include <stdio.h> -#include <strings.h> +#include <string.h> #include <netncp/ncp_lib.h> struct ncp_rpc_rq { |