Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/ufs/ext2fs Approved by thorpej:



details:   https://anonhg.NetBSD.org/src/rev/11a55df81c51
branches:  netbsd-1-5
changeset: 488737:11a55df81c51
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Wed Jul 26 23:06:08 2000 +0000

description:
Approved by thorpej:
Fix compilation error in fsck_ext2fs on big-endian systems, due to missing
prototypes.

syssrc/sys/ufs/ext2fs/ext2fs_bswap.c                    1.5 -> 1.6

diffstat:

 sys/ufs/ext2fs/ext2fs_bswap.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r acb1022844aa -r 11a55df81c51 sys/ufs/ext2fs/ext2fs_bswap.c
--- a/sys/ufs/ext2fs/ext2fs_bswap.c     Wed Jul 26 23:02:11 2000 +0000
+++ b/sys/ufs/ext2fs/ext2fs_bswap.c     Wed Jul 26 23:06:08 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ext2fs_bswap.c,v 1.5 2000/05/15 08:51:55 bouyer Exp $  */
+/*     $NetBSD: ext2fs_bswap.c,v 1.5.4.1 2000/07/26 23:06:08 mycroft Exp $     */
 
 /*
  * Copyright (c) 1997 Manuel Bouyer.
@@ -37,6 +37,10 @@
 #include <ufs/ext2fs/ext2fs.h>
 #include <ufs/ext2fs/ext2fs_dinode.h>
 
+#if !defined(_KERNEL)
+#include <string.h>
+#endif
+
 /* These functions are only needed if native byte order is not big endian */
 #if BYTE_ORDER == BIG_ENDIAN
 void



Home | Main Index | Thread Index | Old Index