Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/pmc Need <string.h> for memset() and strcmp() protot...
details: https://anonhg.NetBSD.org/src/rev/5a4457b9ce2a
branches: trunk
changeset: 519966:5a4457b9ce2a
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Dec 31 18:38:32 2001 +0000
description:
Need <string.h> for memset() and strcmp() prototypes (noticed by
gcc 3.1).
diffstat:
usr.bin/pmc/pmc.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 18352c6b4bd8 -r 5a4457b9ce2a usr.bin/pmc/pmc.c
--- a/usr.bin/pmc/pmc.c Mon Dec 31 18:35:26 2001 +0000
+++ b/usr.bin/pmc/pmc.c Mon Dec 31 18:38:32 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmc.c,v 1.2 2001/02/20 23:55:12 cgd Exp $ */
+/* $NetBSD: pmc.c,v 1.3 2001/12/31 18:38:32 thorpej Exp $ */
/*
* Copyright 2000 Wasabi Systems, Inc.
@@ -44,6 +44,7 @@
#include <signal.h>
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
const struct pmc_name2val {
Home |
Main Index |
Thread Index |
Old Index