]> git.tdb.fi Git - ext/subsurface.git/blobdiff - dive.h
Avoid using type 'gasmix_t': use 'struct gasmix' instead
[ext/subsurface.git] / dive.h
diff --git a/dive.h b/dive.h
index 9e5d2c49e4ab7a1db5fe9cc887887c2e8a703ed4..d96e0102d443fd91f5b62c8348d9f2cb70ed20af 100644 (file)
--- a/dive.h
+++ b/dive.h
@@ -69,10 +69,10 @@ typedef struct {
        int grams;
 } weight_t;
 
-typedef struct {
+struct gasmix {
        fraction_t o2;
        fraction_t he;
-} gasmix_t;
+};
 
 typedef struct {
        volume_t size;
@@ -82,7 +82,7 @@ typedef struct {
 
 typedef struct {
        cylinder_type_t type;
-       gasmix_t gasmix;
+       struct gasmix gasmix;
        pressure_t start, end;
 } cylinder_t;