Print this page
remove support for non-ANSI compilation

*** 18,36 **** * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright 1998-2002 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_CONFIG_ADMIN_H #define _SYS_CONFIG_ADMIN_H - #pragma ident "%Z%%M% %I% %E% SMI" - /* * config_admin.h * * this file supports usage of the interfaces defined in * config_admin.3x. which are contained in /usr/lib/libcfgadm.so.1 --- 18,36 ---- * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright 1998-2002 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_CONFIG_ADMIN_H #define _SYS_CONFIG_ADMIN_H /* * config_admin.h * * this file supports usage of the interfaces defined in * config_admin.3x. which are contained in /usr/lib/libcfgadm.so.1
*** 174,185 **** CFGA_APID_NOEXIST, CFGA_ATTR_INVAL } cfga_err_t; - #if defined(__STDC__) - /* * config_admin.3x library interfaces */ cfga_err_t config_change_state(cfga_cmd_t state_change_cmd, int num_ap_ids, --- 174,183 ----
*** 254,270 **** const char *, char **); #endif /* CFGA_PLUGIN_LIB */ - #else /* !defined __STDC__ */ - - extern const char *config_strerror(); - extern int config_ap_id_cmp(); - - #endif /* __STDC__ */ - #ifdef __cplusplus } #endif #endif /* _SYS_CONFIG_ADMIN_H */ --- 252,261 ----