Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/makefs/ffs Need <stdlib.h> for abort() prototype (n...



details:   https://anonhg.NetBSD.org/src/rev/89f9d5a3e403
branches:  trunk
changeset: 519977:89f9d5a3e403
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Dec 31 19:44:27 2001 +0000

description:
Need <stdlib.h> for abort() prototype (noticed by gcc 3.1).

diffstat:

 usr.sbin/makefs/ffs/ffs_balloc.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r c8653e06b805 -r 89f9d5a3e403 usr.sbin/makefs/ffs/ffs_balloc.c
--- a/usr.sbin/makefs/ffs/ffs_balloc.c  Mon Dec 31 19:41:37 2001 +0000
+++ b/usr.sbin/makefs/ffs/ffs_balloc.c  Mon Dec 31 19:44:27 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_balloc.c,v 1.3 2001/11/22 02:47:26 lukem Exp $     */
+/*     $NetBSD: ffs_balloc.c,v 1.4 2001/12/31 19:44:27 thorpej Exp $   */
 /* From NetBSD: ffs_balloc.c,v 1.25 2001/08/08 08:36:36 lukem Exp */
 
 /*
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #ifndef __lint
-__RCSID("$NetBSD: ffs_balloc.c,v 1.3 2001/11/22 02:47:26 lukem Exp $");
+__RCSID("$NetBSD: ffs_balloc.c,v 1.4 2001/12/31 19:44:27 thorpej Exp $");
 #endif /* !__lint */
 
 #include <sys/param.h>
@@ -48,6 +48,7 @@
 #include <err.h>
 #include <errno.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 
 #include "ufs/ufs/ufs_bswap.h"



Home | Main Index | Thread Index | Old Index