Print this page
remove support for non-ANSI compilation

*** 17,35 **** * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* Copyright (c) 1996 Sun Microsystems, Inc. */ /* All Rights Reserved */ #ifndef _XTI_H #define _XTI_H - #pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/types.h> /* * The following include file has declarations needed by both the kernel * level transport providers and the user level library. This file includes --- 17,36 ---- * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ + /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + */ /* Copyright (c) 1996 Sun Microsystems, Inc. */ /* All Rights Reserved */ #ifndef _XTI_H #define _XTI_H #include <sys/types.h> /* * The following include file has declarations needed by both the kernel * level transport providers and the user level library. This file includes
*** 477,488 **** /* * XTI LIBRARY FUNCTIONS */ - #if defined(__STDC__) - #if defined(_XOPEN_SOURCE) && !defined(_XPG5) extern int t_accept(int, int, struct t_call *); extern char *t_alloc(int, int, int); extern int t_bind(int, struct t_bind *, struct t_bind *); extern int t_connect(int, struct t_call *, struct t_call *); --- 478,487 ----
*** 532,543 **** unsigned int); extern int t_sync(int); extern int t_sysconf(int); extern int t_unbind(int); - #endif /* __STDC__ */ - #ifdef __cplusplus } #endif #endif /* _XTI_H */ --- 531,540 ----