Fix an error which prevented ssize_t from becoming defined. Add

restrict type-qualifier.
This commit is contained in:
Mike Barcroft
2002-09-20 08:22:48 +00:00
parent 4ed3c94b61
commit 6b7f7587e3
+3 -3
View File
@@ -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_ */