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 | 4fe54d7c6acb302aacc6ac18798804b26c882c13 (patch) | |
tree | 07a0d6761d1b42410a27e4c7d583b766d6671f80 /crypto/heimdal/lib/roken/parse_bytes.h | |
parent | 86067c77149c346cf467f1db4307a68c3632aa23 (diff) | |
parent | c19800e8cd5640693f36f2040db4ab5e8d738146 (diff) | |
download | src-4fe54d7c6acb302aacc6ac18798804b26c882c13.tar.gz src-4fe54d7c6acb302aacc6ac18798804b26c882c13.zip |
This commit was generated by cvs2svn to compensate for changes in r178825,
which included commits to RCS files with non-trunk default branches.
Notes
Notes:
svn path=/head/; revision=178826
Diffstat (limited to 'crypto/heimdal/lib/roken/parse_bytes.h')
-rw-r--r-- | crypto/heimdal/lib/roken/parse_bytes.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/crypto/heimdal/lib/roken/parse_bytes.h b/crypto/heimdal/lib/roken/parse_bytes.h index d7e759da5ea0..1998f70736ad 100644 --- a/crypto/heimdal/lib/roken/parse_bytes.h +++ b/crypto/heimdal/lib/roken/parse_bytes.h @@ -31,18 +31,26 @@ * SUCH DAMAGE. */ -/* $Id: parse_bytes.h,v 1.3 2001/09/04 09:56:00 assar Exp $ */ +/* $Id: parse_bytes.h 14787 2005-04-13 13:19:07Z lha $ */ #ifndef __PARSE_BYTES_H__ #define __PARSE_BYTES_H__ -int +#ifndef ROKEN_LIB_FUNCTION +#ifdef _WIN32 +#define ROKEN_LIB_FUNCTION _stdcall +#else +#define ROKEN_LIB_FUNCTION +#endif +#endif + +int ROKEN_LIB_FUNCTION parse_bytes (const char *s, const char *def_unit); -int +int ROKEN_LIB_FUNCTION unparse_bytes (int t, char *s, size_t len); -int +int ROKEN_LIB_FUNCTION unparse_bytes_short (int t, char *s, size_t len); #endif /* __PARSE_BYTES_H__ */ |