diff options
author | nicolas.zilio@hotmail.fr <> | 2015-09-15 11:36:20 +0200 |
---|---|---|
committer | nicolas.zilio@hotmail.fr <> | 2015-09-15 11:36:20 +0200 |
commit | c71075ca84d896c650dd0b65c7664149ed51dcec (patch) | |
tree | 9e1652e78bcd9a34770dd26d9c5477a965377cd0 /pcilib/unit.h | |
parent | 6a8b4a516689daa34951ccca841c2a4f57412b0e (diff) | |
download | pcitool-c71075ca84d896c650dd0b65c7664149ed51dcec.tar.gz pcitool-c71075ca84d896c650dd0b65c7664149ed51dcec.tar.bz2 pcitool-c71075ca84d896c650dd0b65c7664149ed51dcec.tar.xz pcitool-c71075ca84d896c650dd0b65c7664149ed51dcec.zip |
addition of other remarks, cleaning in progress
Diffstat (limited to 'pcilib/unit.h')
-rw-r--r-- | pcilib/unit.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pcilib/unit.h b/pcilib/unit.h index f9991f1..4a99f5b 100644 --- a/pcilib/unit.h +++ b/pcilib/unit.h @@ -3,6 +3,8 @@ #include "pcilib.h" +#define PCILIB_MAX_TRANSFORMS_PER_UNIT 16 + typedef struct pcilib_unit_s pcilib_unit_t; typedef struct pcilib_transform_unit_s pcilib_transform_unit_t; @@ -19,7 +21,7 @@ struct pcilib_transform_unit_s{ */ struct pcilib_unit_s{ char* name; - pcilib_transform_unit_t* other_units; + pcilib_transform_unit_t other_units[PCILIB_MAX_TRANSFORMS_PER_UNIT]; }; /** |