Print this page
remove support for non-ANSI compilation

*** 23,33 **** * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* ! * Copyright 2013 Garrett D'Amore <garrett@damore.org> * * Portions of this file developed by Garrett D'Amore are licensed * under the terms of the Common Development and Distribution License (CDDL) * version 1.0 only. The use of subsequent versions of the License are * is specifically prohibited unless those terms are not in conflict with --- 23,33 ---- * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* ! * Copyright 2014 Garrett D'Amore <garrett@damore.org> * * Portions of this file developed by Garrett D'Amore are licensed * under the terms of the Common Development and Distribution License (CDDL) * version 1.0 only. The use of subsequent versions of the License are * is specifically prohibited unless those terms are not in conflict with
*** 82,102 **** #ifndef _LOCALE_T #define _LOCALE_T typedef struct _locale *locale_t; #endif - #if defined(__STDC__) extern locale_t duplocale(locale_t); extern void freelocale(locale_t); extern locale_t newlocale(int, const char *, locale_t); extern locale_t uselocale(locale_t); - #else /* __STDC__ */ - extern locale_t duplocale(); - extern void freelocale(); - extern locale_t newlocale(); - extern locale_t uselocale(); - #endif /* __STDC__ */ #define LC_GLOBAL_LOCALE (__global_locale()) extern locale_t __global_locale(void); #endif /* defined(_XPG7) || !defined(_STRICT_SYMBOLS) */ --- 82,95 ----