diff options
author | Doug Rabson <dfr@FreeBSD.org> | 2008-05-07 13:39:42 +0000 |
---|---|---|
committer | Doug Rabson <dfr@FreeBSD.org> | 2008-05-07 13:39:42 +0000 |
commit | c19800e8cd5640693f36f2040db4ab5e8d738146 (patch) | |
tree | 4dbb862199a916e3ffe75f1cb08703ec0e662ffc /crypto/heimdal/lib/roken/parse_bytes.c | |
parent | 8d4ba808a53020900c275b6f1cf21fc6e9f3bf36 (diff) |
Notes
Diffstat (limited to 'crypto/heimdal/lib/roken/parse_bytes.c')
-rw-r--r-- | crypto/heimdal/lib/roken/parse_bytes.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/heimdal/lib/roken/parse_bytes.c b/crypto/heimdal/lib/roken/parse_bytes.c index b556ddc197d5b..4ab02b41557c9 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.4 2003/03/07 15:51:53 lha Exp $"); +RCSID("$Id: parse_bytes.c 14773 2005-04-12 11:29:18Z lha $"); #endif #include <parse_units.h> @@ -59,19 +59,19 @@ static struct units bytes_short_units[] = { { NULL, 0 } }; -int +int ROKEN_LIB_FUNCTION parse_bytes (const char *s, const char *def_unit) { return parse_units (s, bytes_units, def_unit); } -int +int ROKEN_LIB_FUNCTION unparse_bytes (int t, char *s, size_t len) { return unparse_units (t, bytes_units, s, len); } -int +int ROKEN_LIB_FUNCTION unparse_bytes_short (int t, char *s, size_t len) { return unparse_units_approx (t, bytes_short_units, s, len); |