Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/locate/bigram Include <string.h> to get a prototype ...



details:   https://anonhg.NetBSD.org/src/rev/9d62ae763f1a
branches:  trunk
changeset: 484006:9d62ae763f1a
user:      simonb <simonb%NetBSD.org@localhost>
date:      Wed Mar 22 21:45:02 2000 +0000

description:
Include <string.h> to get a prototype for memset().  Fixes build
problems on alpha noted by Tim Rightnour on current-users.

diffstat:

 usr.bin/locate/bigram/locate.bigram.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r b038d725382b -r 9d62ae763f1a usr.bin/locate/bigram/locate.bigram.c
--- a/usr.bin/locate/bigram/locate.bigram.c     Wed Mar 22 21:41:48 2000 +0000
+++ b/usr.bin/locate/bigram/locate.bigram.c     Wed Mar 22 21:45:02 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locate.bigram.c,v 1.7 2000/03/20 19:17:35 jdolecek Exp $       */
+/*     $NetBSD: locate.bigram.c,v 1.8 2000/03/22 21:45:02 simonb Exp $ */
 
 /*
  * Copyright (c) 1989, 1993
@@ -46,7 +46,7 @@
 #if 0
 static char sccsid[] = "@(#)locate.bigram.c    8.2 (Berkeley) 4/28/95";
 #endif
-__RCSID("$NetBSD: locate.bigram.c,v 1.7 2000/03/20 19:17:35 jdolecek Exp $");
+__RCSID("$NetBSD: locate.bigram.c,v 1.8 2000/03/22 21:45:02 simonb Exp $");
 #endif /* not lint */
 
 /*
@@ -58,6 +58,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <sys/param.h>                 /* for MAXPATHLEN */
 
 int    main __P((int, char **));



Home | Main Index | Thread Index | Old Index