Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libsa We can't use <string.h> for standalone programs;
details: https://anonhg.NetBSD.org/src/rev/5083c2249501
branches: trunk
changeset: 543332:5083c2249501
user: simonb <simonb%NetBSD.org@localhost>
date: Sun Feb 23 12:31:29 2003 +0000
description:
We can't use <string.h> for standalone programs;
use <lib/libkern/libkern.h> for str*() prototypes instead.
diffstat:
sys/lib/libsa/ufs_ls.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r dc4a47df9a97 -r 5083c2249501 sys/lib/libsa/ufs_ls.c
--- a/sys/lib/libsa/ufs_ls.c Sun Feb 23 08:50:58 2003 +0000
+++ b/sys/lib/libsa/ufs_ls.c Sun Feb 23 12:31:29 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ufs_ls.c,v 1.3 2003/02/01 14:52:13 dsl Exp $ */
+/* $NetBSD: ufs_ls.c,v 1.4 2003/02/23 12:31:29 simonb Exp $ */
/*
* Copyright (c) 1993
@@ -37,7 +37,7 @@
#include <sys/param.h>
-#include <string.h>
+#include <lib/libkern/libkern.h>
#include <ufs/ufs/dinode.h>
#include <ufs/ufs/dir.h>
Home |
Main Index |
Thread Index |
Old Index