diff options
author | dfr <dfr@FreeBSD.org> | 2008-05-07 13:39:42 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2008-05-07 13:39:42 +0000 |
commit | 51b6601db456e699ea5d4843cbc7239ee92d9c13 (patch) | |
tree | 4dbb862199a916e3ffe75f1cb08703ec0e662ffc /crypto/heimdal/lib/roken/parse_bytes.c | |
parent | 2565fa13487d5bfc858144e431e3dfd7ffa5200e (diff) | |
download | FreeBSD-src-51b6601db456e699ea5d4843cbc7239ee92d9c13.zip FreeBSD-src-51b6601db456e699ea5d4843cbc7239ee92d9c13.tar.gz |
Vendor import of Heimdal 1.1
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 b556ddc..4ab02b4 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); |