Make it compile

This is not hoocked up on Subsurface code yet, but it's already
being compilled. now I just need to hoock things up.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2016-01-22 18:37:18 -02:00 committed by Dirk Hohndel
parent b01bca7953
commit fd175e8781
4 changed files with 146 additions and 89 deletions

View file

@ -228,29 +228,29 @@ static inline int mbar_to_PSI(int mbar)
#undef PASCAL
#endif
struct units {
enum {
enum LENGHT {
METERS,
FEET
} length;
enum {
enum VOLUME {
LITER,
CUFT
} volume;
enum {
enum PRESSURE {
BAR,
PSI,
PASCAL
} pressure;
enum {
enum TEMPERATURE {
CELSIUS,
FAHRENHEIT,
KELVIN
} temperature;
enum {
enum WEIGHT {
KG,
LBS
} weight;
enum {
enum TIME {
SECONDS,
MINUTES
} vertical_speed_time;