Print this page
remove support for non-ANSI compilation

@@ -18,10 +18,12 @@
  * information: Portions Copyright [yyyy] [name of copyright owner]
  *
  * CDDL HEADER END
  */
 /*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
  * Copyright 1998 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
 /*      Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T     */

@@ -89,13 +91,10 @@
 /*
  * flags
  */
 #define         MADE_FP         0x02
 
-
-#ifdef __STDC__
-
 extern int      t_kalloc(TIUSER *, int, int, char **);
 extern int      t_kbind(TIUSER *, struct t_bind *, struct t_bind *);
 extern int      t_kclose(TIUSER *, int);
 extern int      t_kconnect(TIUSER *, struct t_call *, struct t_call *);
 extern int      t_kfree(TIUSER *, char *, int);

@@ -108,29 +107,10 @@
 extern int      tli_send(TIUSER *, mblk_t *, int);
 extern int      tli_recv(TIUSER *, mblk_t **, int);
 extern int      t_tlitosyserr(int);
 extern int      get_ok_ack(TIUSER *, int, int);
 
-#else
-
-extern int      t_kalloc();
-extern int      t_kbind();
-extern int      t_kclose();
-extern int      t_kconnect();
-extern int      t_kfree();
-extern int      t_kgetstate();
-extern int      t_kopen();
-extern int      t_krcvudata();
-extern int      t_ksndudata();
-extern int      t_kspoll();
-extern int      t_kunbind();
-extern int      tli_send();
-extern int      tli_recv();
-extern int      t_tlitosyserr();
-extern int      get_ok_ack();
-#endif  /* __STDC__ */
-
 /*
  * these make life a lot easier
  */
 #define         TCONNREQSZ      sizeof (struct T_conn_req)
 #define         TCONNRESSZ      sizeof (struct T_conn_res)