From afffcdbc0d6402e3dfee421f86938b98e12fb550 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 12 Sep 2011 09:47:55 -0700 Subject: Avoid using type 'gasmix_t': use 'struct gasmix' instead libdivecomputer already uses 'gasmix_t' for its own gasmix thing. I don't like th eway we step on each others name spaces, but hey, might as well just use 'struct gasmix' and avoid the typedef. Signed-off-by: Linus Torvalds --- dive.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dive.h') diff --git a/dive.h b/dive.h index 9e5d2c49e..d96e0102d 100644 --- 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; -- cgit v1.2.3-70-g09d2