diff options
author | mike <mike@FreeBSD.org> | 2002-09-20 08:22:48 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-09-20 08:22:48 +0000 |
commit | 8286a42d542808c026b1d91d10c9db2771ed82d9 (patch) | |
tree | 35bdc454a3bc61d30e95881614bbbe67080640ec /include | |
parent | 691c400510e85b42c8a1257e3a0f1ac21df6381f (diff) | |
download | FreeBSD-src-8286a42d542808c026b1d91d10c9db2771ed82d9.zip FreeBSD-src-8286a42d542808c026b1d91d10c9db2771ed82d9.tar.gz |
Fix an error which prevented ssize_t from becoming defined. Add
restrict type-qualifier.
Diffstat (limited to 'include')
-rw-r--r-- | include/monetary.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/monetary.h b/include/monetary.h index 9601078..ade6a88 100644 --- a/include/monetary.h +++ b/include/monetary.h @@ -37,13 +37,13 @@ typedef __size_t size_t; #define _SIZE_T_DECLARED #endif -#ifndef _SIZE_T_DECLARED +#ifndef _SSIZE_T_DECLARED typedef __ssize_t ssize_t; -#define _SIZE_T_DECLARED +#define _SSIZE_T_DECLARED #endif __BEGIN_DECLS -ssize_t strfmon(char *, size_t, const char *, ...); +ssize_t strfmon(char * __restrict, size_t, const char * __restrict, ...); __END_DECLS #endif /* !_MONETARY_H_ */ |