Fix lib/roken parse_* warnings
This commit is contained in:
@@ -54,6 +54,32 @@ struct units {
|
||||
unsigned mult;
|
||||
};
|
||||
|
||||
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
|
||||
parse_units (const char *s, const struct units *units,
|
||||
const char *def_unit);
|
||||
|
||||
ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
|
||||
print_units_table (const struct units *units, FILE *f);
|
||||
|
||||
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
|
||||
parse_flags (const char *s, const struct units *units,
|
||||
int orig);
|
||||
|
||||
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
|
||||
unparse_units (int num, const struct units *units, char *s, size_t len);
|
||||
|
||||
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
|
||||
unparse_units_approx (int num, const struct units *units, char *s,
|
||||
size_t len);
|
||||
|
||||
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
|
||||
unparse_flags (int num, const struct units *units, char *s, size_t len);
|
||||
|
||||
ROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
|
||||
print_flags_table (const struct units *units, FILE *f);
|
||||
|
||||
/* And again, but renamed */
|
||||
|
||||
#define parse_units rk_parse_units
|
||||
#define unparse_units rk_unparse_units
|
||||
#define unparse_units_approx rk_unparse_units_approx
|
||||
|
||||
Reference in New Issue
Block a user