# HG changeset patch # User arpi # Date 1005276372 0 # Node ID 6694f0d029f1d541548454fd38cde2321e652009 # Parent 8e3875816f6d6bf78b35aa1d9536cf39aba8e182 struct->typedef diff -r 8e3875816f6d -r 6694f0d029f1 loader/qtx/qtxsdk/components.h --- 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;