summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-11-26 10:04:14 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-11-26 21:44:04 -0700
commit3f197336aa3aa1485bd1fdc38d21050006857909 (patch)
tree7ed1f5dd2b3a341a5ae03f02339e9621ec054e0c /parse-xml.c
parente544ca5f6a0c888a76dfb27c824712549fafe488 (diff)
downloadsubsurface-3f197336aa3aa1485bd1fdc38d21050006857909.tar.gz
Remove 'tripflag' from dive trips
Both dives and dive trips have the same 'tripflag' thing, but they are used very differently. In particular, for dive trips, the only case that has any meaning is the TF_AUTOGEN case, so instead of having that trip flag, replace it with a bitfield that says whether the trip was auto-generated or not. And make the one-bit bitfields explicitly unsigned. Signed bitfields are almost always a mistake, and can be confusing. Also remove a few now stale macros that are no longer needed now that we don't do the GList thing for dive list handling, and our autogen logic has been simplified. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'parse-xml.c')
0 files changed, 0 insertions, 0 deletions