diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-05-03 14:16:09 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-03 14:21:13 -0700 |
commit | 98414ac9a9ab927b475088a982ebaf8200c647c8 (patch) | |
tree | 498f44c1ef1eada20658244e5e59855d08a58d37 /equipment.c | |
parent | 060e5c764cc66e54f422928e3921fd08dff31f69 (diff) | |
download | subsurface-98414ac9a9ab927b475088a982ebaf8200c647c8.tar.gz |
Fix compiler warnings
Doing this on Arch Linux with gcc 4.8.0 helped find one real bug.
The rest are simply changes to make static functions externally visible
(as they are kept around to eventually become helpers used by Qt) which
for now avoids the warnings.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'equipment.c')
-rw-r--r-- | equipment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/equipment.c b/equipment.c index 93f26dab1..4c692f33b 100644 --- a/equipment.c +++ b/equipment.c @@ -112,7 +112,7 @@ void convert_volume_pressure(int ml, int mbar, double *v, double *p) *v = volume; } -static int convert_weight(int grams, double *m) +int convert_weight(int grams, double *m) { int decimals = 1; /* not sure - do people do less than whole lbs/kg ? */ double weight; |