Print this page
remove support for non-ANSI compilation

*** 22,40 **** /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ /* * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_NETCONFIG_H #define _SYS_NETCONFIG_H - #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.4 */ - #ifdef __cplusplus extern "C" { #endif #define NETCONFIG "/etc/netconfig" --- 22,40 ---- /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_NETCONFIG_H #define _SYS_NETCONFIG_H #ifdef __cplusplus extern "C" { #endif #define NETCONFIG "/etc/netconfig"
*** 135,146 **** */ #define NC_KVIPL "kvipl" #define NC_IBTF "ibtf" #define NC_KDAPL "kdapl" - #if defined(__STDC__) - extern void *setnetconfig(void); extern int endnetconfig(void *); extern struct netconfig *getnetconfig(void *); extern struct netconfig *getnetconfigent(const char *); extern void freenetconfigent(struct netconfig *); --- 135,144 ----
*** 148,172 **** extern int endnetpath(void *); extern struct netconfig *getnetpath(void *); extern void nc_perror(const char *); extern char *nc_sperror(void); - #else /* __STDC__ */ - - extern void *setnetconfig(); - extern int endnetconfig(); - extern struct netconfig *getnetconfig(); - extern struct netconfig *getnetconfigent(); - extern void freenetconfigent(); - extern void *setnetpath(); - extern int endnetpath(); - extern struct netconfig *getnetpath(); - extern void nc_perror(); - extern char *nc_sperror(); - - #endif /* __STDC__ */ - #ifdef __cplusplus } #endif #endif /* _SYS_NETCONFIG_H */ --- 146,155 ----