summaryrefslogtreecommitdiffstats
path: root/usr.bin/gprof
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2004-05-24 12:44:00 +0000
committerstefanf <stefanf@FreeBSD.org>2004-05-24 12:44:00 +0000
commit4cd22dd0a7c3b0a3452b366d74d1673c457fd4ac (patch)
treeab5b9b2e493bb71c3e0a388b820f2482dff09bd0 /usr.bin/gprof
parent2f8036c976e17237f2193647e8dc744dd210e4e4 (diff)
downloadFreeBSD-src-4cd22dd0a7c3b0a3452b366d74d1673c457fd4ac.zip
FreeBSD-src-4cd22dd0a7c3b0a3452b366d74d1673c457fd4ac.tar.gz
Include <string.h> for prototypes of various string functions.
Approved by: das (mentor)
Diffstat (limited to 'usr.bin/gprof')
-rw-r--r--usr.bin/gprof/gprof.c2
-rw-r--r--usr.bin/gprof/kernel.c1
-rw-r--r--usr.bin/gprof/printgprof.c2
-rw-r--r--usr.bin/gprof/printlist.c2
4 files changed, 7 insertions, 0 deletions
diff --git a/usr.bin/gprof/gprof.c b/usr.bin/gprof/gprof.c
index 7b857b8..6f139ab 100644
--- a/usr.bin/gprof/gprof.c
+++ b/usr.bin/gprof/gprof.c
@@ -49,6 +49,8 @@ __FBSDID("$FreeBSD$");
#include <err.h>
#include <limits.h>
#include <stdint.h>
+#include <string.h>
+
#include "gprof.h"
static int valcmp(const void *, const void *);
diff --git a/usr.bin/gprof/kernel.c b/usr.bin/gprof/kernel.c
index fc14087..38cc91e 100644
--- a/usr.bin/gprof/kernel.c
+++ b/usr.bin/gprof/kernel.c
@@ -8,6 +8,7 @@ __FBSDID("$FreeBSD$");
#include <err.h>
#include <stdlib.h>
+#include <string.h>
#include "gprof.h"
diff --git a/usr.bin/gprof/printgprof.c b/usr.bin/gprof/printgprof.c
index de1fe49..4ca5395 100644
--- a/usr.bin/gprof/printgprof.c
+++ b/usr.bin/gprof/printgprof.c
@@ -41,6 +41,8 @@ static char sccsid[] = "@(#)printgprof.c 8.1 (Berkeley) 6/6/93";
__FBSDID("$FreeBSD$");
#include <err.h>
+#include <string.h>
+
#include "gprof.h"
#include "pathnames.h"
diff --git a/usr.bin/gprof/printlist.c b/usr.bin/gprof/printlist.c
index c5ecdf7..ed68bcc 100644
--- a/usr.bin/gprof/printlist.c
+++ b/usr.bin/gprof/printlist.c
@@ -41,6 +41,8 @@ static char sccsid[] = "@(#)printlist.c 8.1 (Berkeley) 6/6/93";
__FBSDID("$FreeBSD$");
#include <err.h>
+#include <string.h>
+
#include "gprof.h"
/*
OpenPOWER on IntegriCloud