Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/common/lib/libutil the kernel does not have util.h
details: https://anonhg.NetBSD.org/src/rev/9e81ad771a05
branches: trunk
changeset: 771192:9e81ad771a05
user: christos <christos%NetBSD.org@localhost>
date: Sun Nov 13 22:21:29 2011 +0000
description:
the kernel does not have util.h
diffstat:
common/lib/libutil/getfstypename.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r 8710e9af380d -r 9e81ad771a05 common/lib/libutil/getfstypename.c
--- a/common/lib/libutil/getfstypename.c Sun Nov 13 22:19:09 2011 +0000
+++ b/common/lib/libutil/getfstypename.c Sun Nov 13 22:21:29 2011 +0000
@@ -36,17 +36,19 @@
#include <sys/cdefs.h>
#ifndef _KERNEL
# if !defined(lint)
-__RCSID("$NetBSD: getfstypename.c,v 1.1 2011/11/13 21:56:53 christos Exp $");
+__RCSID("$NetBSD: getfstypename.c,v 1.2 2011/11/13 22:21:29 christos Exp $");
# endif
#else
-__KERNEL_RCSID(0, "$NetBSD: getfstypename.c,v 1.1 2011/11/13 21:56:53 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: getfstypename.c,v 1.2 2011/11/13 22:21:29 christos Exp $");
#endif
#define FSTYPE_ENUMNAME fstype_enum
#include <sys/types.h>
#include <sys/disk.h>
#include <sys/disklabel.h>
+#ifndef _KERNEL
#include <util.h>
+#endif
const char *
getfstypename(int fstype)
Home |
Main Index |
Thread Index |
Old Index