From 55491453e2606a363ef6a7b702af9567c468277c Mon Sep 17 00:00:00 2001 From: bde Date: Thu, 4 Oct 2001 07:37:57 +0000 Subject: Fixed namespace pollution: - only declare the application symbols specified in Posix.1-200x drafts, not everything in and . - don't use the application symbol 'm' for an arg name. --- include/monetary.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/monetary.h b/include/monetary.h index 177d590..5d7433a 100644 --- a/include/monetary.h +++ b/include/monetary.h @@ -30,11 +30,20 @@ #define _MONETARY_H #include -#include -#include +#include + +#ifdef _BSD_SIZE_T_ +typedef _BSD_SIZE_T_ size_t; +#undef _BSD_SIZE_T_ +#endif + +#ifdef _BSD_SSIZE_T_ +typedef _BSD_SSIZE_T_ ssize_t; +#undef _BSD_SSIZE_T_ +#endif __BEGIN_DECLS -ssize_t strfmon(char *, size_t, const char *m, ...); +ssize_t strfmon(char *, size_t, const char *, ...); __END_DECLS #endif /* _MONETARY_H */ -- cgit v1.1