Browse Source

Plan 9 from Bell Labs 2009-11-30

David du Colombier 14 years ago
parent
commit
4af3380188
4 changed files with 11 additions and 8 deletions
  1. 8 8
      sys/src/cmd/usb/lib/usb.h
  2. 1 0
      sys/src/libc/alpha/mkfile
  3. 1 0
      sys/src/libc/arm/mkfile
  4. 1 0
      sys/src/libc/power/mkfile

+ 8 - 8
sys/src/cmd/usb/lib/usb.h

@@ -240,6 +240,14 @@ struct Conf
  * within a configuration.
  * These are unknown to the library but handed to the driver.
  */
+struct DDesc
+{
+	uchar	bLength;
+	uchar	bDescriptorType;
+	uchar	bbytes[1];
+	/* extra bytes allocated here to keep the rest of it */
+};
+
 struct Desc
 {
 	Conf*	conf;		/* where this descriptor was read */
@@ -249,14 +257,6 @@ struct Desc
 	DDesc	data;		/* unparsed standard USB descriptor */
 };
 
-struct DDesc
-{
-	uchar	bLength;
-	uchar	bDescriptorType;
-	uchar	bbytes[1];
-	/* extra bytes allocated here to keep the rest of it */
-};
-
 /*
  * layout of standard descriptor types
  */

+ 1 - 0
sys/src/libc/alpha/mkfile

@@ -4,6 +4,7 @@ objtype=alpha
 LIB=/$objtype/lib/libc.a
 SFILES=\
 	argv0.s\
+	atom.s\
 	divl.s\
 	divq.s\
 	getcallerpc.s\

+ 1 - 0
sys/src/libc/arm/mkfile

@@ -4,6 +4,7 @@ objtype=arm
 LIB=/$objtype/lib/libc.a
 SFILES=\
 	argv0.s\
+	atom.s\
 	cas.s\
 	div.s\
 	getcallerpc.s\

+ 1 - 0
sys/src/libc/power/mkfile

@@ -4,6 +4,7 @@ objtype=power
 LIB=/$objtype/lib/libc.a
 SFILES=\
 	argv0.s\
+	atom.s\
 	cycles.s\
 	getcallerpc.s\
 	getfcr.s\