} cylinder_t;
extern double get_depth_units(unsigned int mm, int *frac, const char **units);
+extern double get_temp_units(unsigned int mm, const char **units);
static inline double mm_to_feet(int mm)
{
* the input and output may come in some random format. This
* keeps track of those units.
*/
+/* turns out in Win32 PASCAL is defined as a calling convention */
+#ifdef WIN32
+#undef PASCAL
+#endif
struct units {
enum { METERS, FEET } length;
enum { LITER, CUFT } volume;