Print this page
remove support for non-ANSI compilation
*** 18,33 ****
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
- /*
- * Copyright 2013 Garrett D'Amore <garrett@damore.org>
- */
#ifndef _MONETARY_H
#define _MONETARY_H
#include <sys/feature_tests.h>
--- 18,32 ----
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _MONETARY_H
#define _MONETARY_H
#include <sys/feature_tests.h>
*** 35,45 ****
#ifdef __cplusplus
extern "C" {
#endif
- #if defined(__STDC__)
extern ssize_t strfmon(char *_RESTRICT_KYWD, size_t,
const char *_RESTRICT_KYWD, ...);
#if defined(_XPG7) || (!defined(_STRICT_STRICT_SYMBOLS))
--- 34,43 ----
*** 50,64 ****
extern ssize_t strfmon_l(char *_RESTRICT_KYWD, size_t, locale_t,
const char *_RESTRICT_KYWD, ...);
#endif
- #else
- extern ssize_t strfmon();
- extern ssize_t strfmon_l();
- #endif
-
#ifdef __cplusplus
}
#endif
#endif /* _MONETARY_H */
--- 48,57 ----