summaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-12 09:47:55 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-12 09:47:55 -0700
commitafffcdbc0d6402e3dfee421f86938b98e12fb550 (patch)
tree79eeb629b241edf558059d94e87455ee37b5c425 /dive.c
parent9cb60c910681b0fb3c04d22c77bcf9c2754bfa7f (diff)
downloadsubsurface-afffcdbc0d6402e3dfee421f86938b98e12fb550.tar.gz
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 <torvalds@linux-foundation.org>
Diffstat (limited to 'dive.c')
-rw-r--r--dive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.c b/dive.c
index ba5200f51..e899c6ccb 100644
--- a/dive.c
+++ b/dive.c
@@ -246,7 +246,7 @@ static void merge_cylinder_type(cylinder_type_t *res, cylinder_type_t *a, cylind
*res = *b;
}
-static void merge_cylinder_mix(gasmix_t *res, gasmix_t *a, gasmix_t *b)
+static void merge_cylinder_mix(struct gasmix *res, struct gasmix *a, struct gasmix *b)
{
if (a->o2.permille)
b = a;