Print this page
remove support for non-ANSI compilation
@@ -18,16 +18,15 @@
* 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.
*/
-/*
- * Copyright 2013 Garrett D'Amore <garrett@damore.org>
- */
#ifndef _MONETARY_H
#define _MONETARY_H
#include <sys/feature_tests.h>
@@ -35,11 +34,10 @@
#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))
@@ -50,15 +48,10 @@
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 */