Subject: build failures today
To: None <current-users@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: current-users
Date: 01/06/2003 15:30:40
There are a few build errors in 'current' today:

1) Moving sys/isofs/cd9660 to sys/fs/cd9660 leads to stale .depend
   files in (at least) sys/arch/i386/stand/*
   (there are no corresponding .c file changes to cause the .depend
   file to be regenerated).

2) the renaming of class_stats (in altq) is incomplete:

Index: altq_hfsc.h
===================================================================
RCS file: /cvsroot/src/sys/altq/altq_hfsc.h,v
retrieving revision 1.4
diff -u -r1.4 altq_hfsc.h
--- altq_hfsc.h	2003/01/06 14:09:42	1.4
+++ altq_hfsc.h	2003/01/06 15:22:38
@@ -141,7 +141,7 @@
 	u_int64_t		cur_time;	/* current time */
 	u_int			hif_classes;	/* # of classes in the tree */
 	u_int			hif_packets;	/* # of packets in the tree */
-	struct hsfc_basic_class_stats	*stats;	/* pointer to stats array */
+	struct hfsc_basic_class_stats	*stats;	/* pointer to stats array */
 };
 
 #define	HFSC_IF_ATTACH		_IOW('Q', 1, struct hfsc_attach)
Index: qdisc_hfsc.c
===================================================================
RCS file: /cvsroot/src/usr.sbin/altq/altqstat/qdisc_hfsc.c,v
retrieving revision 1.3
diff -u -r1.3 qdisc_hfsc.c
--- qdisc_hfsc.c	2001/08/16 07:48:11	1.3
+++ qdisc_hfsc.c	2003/01/06 15:23:22
@@ -51,10 +51,10 @@
 void
 hfsc_stat_loop(int fd, const char *ifname, int count, int interval)
 {
-	struct class_stats	stats1[NCLASSES], stats2[NCLASSES];
+	struct hfsc_basic_class_stats	stats1[NCLASSES], stats2[NCLASSES];
 	char			clnames[NCLASSES][128];
 	struct hfsc_class_stats	get_stats;
-	struct class_stats	*sp, *lp, *new, *last, *tmp;
+	struct hfsc_basic_class_stats	*sp, *lp, *new, *last, *tmp;
 	struct timeval		cur_time, last_time;
 	int			i;
 	double			sec;
Index: qdisc_priq.c
===================================================================
RCS file: /cvsroot/src/usr.sbin/altq/altqstat/qdisc_priq.c,v
retrieving revision 1.3
diff -u -r1.3 qdisc_priq.c
--- qdisc_priq.c	2001/08/16 07:48:12	1.3
+++ qdisc_priq.c	2003/01/06 15:23:22
@@ -49,10 +49,10 @@
 void
 priq_stat_loop(int fd, const char *ifname, int count, int interval)
 {
-	struct class_stats stats1[PRIQ_MAXPRI], stats2[PRIQ_MAXPRI];
+	struct priq_basic_class_stats stats1[PRIQ_MAXPRI], stats2[PRIQ_MAXPRI];
 	char clnames[PRIQ_MAXPRI][128];
 	struct priq_class_stats	get_stats;
-	struct class_stats	*sp, *lp, *new, *last, *tmp;
+	struct priq_basic_class_stats	*sp, *lp, *new, *last, *tmp;
 	struct timeval		cur_time, last_time;
 	int			i;
 	double			sec;

	David

-- 
David Laight: david@l8s.co.uk