mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
060e5c764c
commit
98414ac9a9
4 changed files with 16 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue