Print this page
remove support for non-ANSI compilation

*** 20,29 **** --- 20,31 ---- * CDDL HEADER END */ /* * nl_types.h * + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright (c) 1991,1997,2000 by Sun Microsystems, Inc. * All rights reserved. */ /* Copyright (c) 1988 AT&T */
*** 30,41 **** /* All Rights Reserved */ #ifndef _NL_TYPES_H #define _NL_TYPES_H - #pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/isa_defs.h> #ifdef __cplusplus extern "C" { #endif --- 32,41 ----
*** 103,121 **** /* The following is just for the compatibility between OSF and Solaris */ /* Need to be removed later */ typedef nl_item __nl_item; - #ifdef __STDC__ int catclose(nl_catd); char *catgets(nl_catd, int, int, const char *); nl_catd catopen(const char *, int); - #else - int catclose(); - char *catgets(); - nl_catd catopen(); - #endif /* __STDC__ */ #ifdef __cplusplus } #endif --- 103,115 ----