Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 2009 12:42:06 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r194186 - head/lib/libkvm
Message-ID:  <200906141242.n5ECg623049436@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Sun Jun 14 12:42:06 2009
New Revision: 194186
URL: http://svn.freebsd.org/changeset/base/194186

Log:
  Fix missing includes of <string.h>, to silence some compiler warnings.
  
  Submitted by:	Pawel Worach

Modified:
  head/lib/libkvm/kvm_amd64.c
  head/lib/libkvm/kvm_arm.c
  head/lib/libkvm/kvm_cptime.c
  head/lib/libkvm/kvm_file.c
  head/lib/libkvm/kvm_i386.c
  head/lib/libkvm/kvm_minidump_amd64.c
  head/lib/libkvm/kvm_minidump_i386.c

Modified: head/lib/libkvm/kvm_amd64.c
==============================================================================
--- head/lib/libkvm/kvm_amd64.c	Sun Jun 14 12:11:15 2009	(r194185)
+++ head/lib/libkvm/kvm_amd64.c	Sun Jun 14 12:42:06 2009	(r194186)
@@ -51,6 +51,7 @@ static char sccsid[] = "@(#)kvm_hp300.c	
 #include <sys/stat.h>
 #include <sys/mman.h>
 #include <stdlib.h>
+#include <string.h>
 #include <unistd.h>
 #include <nlist.h>
 #include <kvm.h>

Modified: head/lib/libkvm/kvm_arm.c
==============================================================================
--- head/lib/libkvm/kvm_arm.c	Sun Jun 14 12:11:15 2009	(r194185)
+++ head/lib/libkvm/kvm_arm.c	Sun Jun 14 12:42:06 2009	(r194186)
@@ -52,6 +52,7 @@ __FBSDID("$FreeBSD$");
 #include <limits.h>
 #include <kvm.h>
 #include <stdlib.h>
+#include <string.h>
 #include <unistd.h>
 
 #include "kvm_private.h"

Modified: head/lib/libkvm/kvm_cptime.c
==============================================================================
--- head/lib/libkvm/kvm_cptime.c	Sun Jun 14 12:11:15 2009	(r194185)
+++ head/lib/libkvm/kvm_cptime.c	Sun Jun 14 12:42:06 2009	(r194186)
@@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$");
 #include <kvm.h>
 #include <limits.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include "kvm_private.h"
 

Modified: head/lib/libkvm/kvm_file.c
==============================================================================
--- head/lib/libkvm/kvm_file.c	Sun Jun 14 12:11:15 2009	(r194185)
+++ head/lib/libkvm/kvm_file.c	Sun Jun 14 12:42:06 2009	(r194186)
@@ -61,6 +61,7 @@ static char sccsid[] = "@(#)kvm_file.c	8
 #include <limits.h>
 #include <ndbm.h>
 #include <paths.h>
+#include <stdlib.h>
 
 #include "kvm_private.h"
 

Modified: head/lib/libkvm/kvm_i386.c
==============================================================================
--- head/lib/libkvm/kvm_i386.c	Sun Jun 14 12:11:15 2009	(r194185)
+++ head/lib/libkvm/kvm_i386.c	Sun Jun 14 12:42:06 2009	(r194186)
@@ -51,6 +51,7 @@ static char sccsid[] = "@(#)kvm_hp300.c	
 #include <sys/stat.h>
 #include <sys/mman.h>
 #include <stdlib.h>
+#include <string.h>
 #include <unistd.h>
 #include <nlist.h>
 #include <kvm.h>

Modified: head/lib/libkvm/kvm_minidump_amd64.c
==============================================================================
--- head/lib/libkvm/kvm_minidump_amd64.c	Sun Jun 14 12:11:15 2009	(r194185)
+++ head/lib/libkvm/kvm_minidump_amd64.c	Sun Jun 14 12:42:06 2009	(r194186)
@@ -37,7 +37,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/mman.h>
 #include <sys/fnv_hash.h>
 #include <stdlib.h>
-#include <strings.h>
+#include <string.h>
 #include <unistd.h>
 #include <nlist.h>
 #include <kvm.h>

Modified: head/lib/libkvm/kvm_minidump_i386.c
==============================================================================
--- head/lib/libkvm/kvm_minidump_i386.c	Sun Jun 14 12:11:15 2009	(r194185)
+++ head/lib/libkvm/kvm_minidump_i386.c	Sun Jun 14 12:42:06 2009	(r194186)
@@ -37,7 +37,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/mman.h>
 #include <sys/fnv_hash.h>
 #include <stdlib.h>
-#include <strings.h>
+#include <string.h>
 #include <unistd.h>
 #include <nlist.h>
 #include <kvm.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906141242.n5ECg623049436>