Source-Changes-HG archive

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

[src/trunk]: src/sys/arch include libkern.h to get moved dkcksum() definition.



details:   https://anonhg.NetBSD.org/src/rev/52f93270d35b
branches:  trunk
changeset: 379181:52f93270d35b
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon May 17 19:31:38 2021 +0000

description:
include libkern.h to get moved dkcksum() definition.

diffstat:

 sys/arch/atari/stand/libsa/diskio.c        |  4 +++-
 sys/arch/landisk/stand/boot/biosdisk.c     |  3 ++-
 sys/arch/luna68k/stand/boot/ufs_disksubr.c |  5 ++++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diffs (54 lines):

diff -r 5de69c4a5b78 -r 52f93270d35b sys/arch/atari/stand/libsa/diskio.c
--- a/sys/arch/atari/stand/libsa/diskio.c       Mon May 17 18:43:18 2021 +0000
+++ b/sys/arch/atari/stand/libsa/diskio.c       Mon May 17 19:31:38 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: diskio.c,v 1.8 2009/03/17 00:18:40 he Exp $    */
+/*     $NetBSD: diskio.c,v 1.9 2021/05/17 19:31:38 mrg Exp $   */
 
 /*
  * Copyright (c) 1995 Waldi Ravens.
@@ -34,6 +34,8 @@
 #include "atari_stand.h"
 #include <sys/disklabel.h>
 
+#include <lib/libkern/libkern.h>
+
 typedef int (*rdsec_f)(void *buffer, u_int offset, u_int count);
 typedef        struct { rdsec_f rds; u_int rst; u_int rend; } bdevd_t;
 
diff -r 5de69c4a5b78 -r 52f93270d35b sys/arch/landisk/stand/boot/biosdisk.c
--- a/sys/arch/landisk/stand/boot/biosdisk.c    Mon May 17 18:43:18 2021 +0000
+++ b/sys/arch/landisk/stand/boot/biosdisk.c    Mon May 17 19:31:38 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: biosdisk.c,v 1.3 2011/07/17 20:54:43 joerg Exp $       */
+/*     $NetBSD: biosdisk.c,v 1.4 2021/05/17 19:31:38 mrg Exp $ */
 
 /*
  * Copyright (c) 1996, 1998
@@ -66,6 +66,7 @@
 #include <sys/types.h>
 #include <sys/disklabel.h>
 
+#include <lib/libkern/libkern.h>
 #include <lib/libsa/stand.h>
 #include <lib/libsa/saerrno.h>
 #include <lib/libsa/loadfile.h>
diff -r 5de69c4a5b78 -r 52f93270d35b sys/arch/luna68k/stand/boot/ufs_disksubr.c
--- a/sys/arch/luna68k/stand/boot/ufs_disksubr.c        Mon May 17 18:43:18 2021 +0000
+++ b/sys/arch/luna68k/stand/boot/ufs_disksubr.c        Mon May 17 19:31:38 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ufs_disksubr.c,v 1.5 2015/02/14 05:03:09 tsutsui Exp $ */
+/*     $NetBSD: ufs_disksubr.c,v 1.6 2021/05/17 19:31:38 mrg Exp $     */
 
 /*
  * Copyright (c) 1992 OMRON Corporation.
@@ -77,6 +77,9 @@
 
 #include <sys/param.h>
 #include <sys/disklabel.h>
+
+#include <lib/libkern/libkern.h>
+
 #include <luna68k/stand/boot/samachdep.h>
 #include <luna68k/stand/boot/scsireg.h>
 



Home | Main Index | Thread Index | Old Index