summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/lib/roken/parse_bytes.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/heimdal/lib/roken/parse_bytes.c')
-rw-r--r--crypto/heimdal/lib/roken/parse_bytes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/heimdal/lib/roken/parse_bytes.c b/crypto/heimdal/lib/roken/parse_bytes.c
index f3c514f..7793e07 100644
--- a/crypto/heimdal/lib/roken/parse_bytes.c
+++ b/crypto/heimdal/lib/roken/parse_bytes.c
@@ -33,7 +33,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
-RCSID("$Id: parse_bytes.c,v 1.2 1999/12/02 16:58:51 joda Exp $");
+RCSID("$Id: parse_bytes.c,v 1.3 2001/09/04 09:56:00 assar Exp $");
#endif
#include <parse_units.h>
@@ -65,13 +65,13 @@ parse_bytes (const char *s, const char *def_unit)
return parse_units (s, bytes_units, def_unit);
}
-size_t
+int
unparse_bytes (int t, char *s, size_t len)
{
return unparse_units (t, bytes_units, s, len);
}
-size_t
+int
unparse_bytes_short (int t, char *s, size_t len)
{
return unparse_units_approx (t, bytes_short_units, s, len);
OpenPOWER on IntegriCloud