diff loader/qtx/qtxsdk/components.h @ 2776:6694f0d029f1

struct->typedef
author arpi
date Fri, 09 Nov 2001 03:26:12 +0000
parents d12f90b7d773
children 4c9966c2b2ed
line wrap: on
line diff
--- a/loader/qtx/qtxsdk/components.h	Fri Nov 09 02:17:02 2001 +0000
+++ b/loader/qtx/qtxsdk/components.h	Fri Nov 09 03:26:12 2001 +0000
@@ -1,26 +1,23 @@
 typedef long ComponentResult;
 typedef unsigned char UInt8;
 
-struct ComponentParameters
-{
+typedef struct {
     UInt8	flags;
     UInt8	paramSize;
     short	what;
     long	params[1];
-};
+} ComponentParameters;
 
-struct ComponentInstace
-{
+typedef struct {
     long	data[1];
-};
+} ComponentInstace;
 
 typedef int OSType;
 
-struct ComponentDescription
-{
+typedef struct {
     OSType	componentType;
     OSType	componentSubType;
     OSType	componentManufacturer;
     unsigned long componentFlags;
     unsigned long componentFlagsMask;
-};
+} ComponentDescription;