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 1989 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
 /*      Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T     */

@@ -33,12 +35,10 @@
  */
 
 #ifndef _RPCSVC_YPCLNT_H
 #define _RPCSVC_YPCLNT_H
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #ifdef  __cplusplus
 extern "C" {
 #endif
 
 /*

@@ -98,11 +98,10 @@
 
 /*
  * External yp client function references.
  */
 
-#ifdef __STDC__
 extern int yp_bind(char *);
 extern void yp_unbind(char *);
 extern int yp_get_default_domain(char **);
 extern int yp_match(char *, char *, char *, int, char **, int *);
 extern int yp_first(char *, char *, char **, int *, char **, int *);

@@ -112,27 +111,10 @@
 extern int yp_all(char *, char *, struct ypall_callback *);
 extern char *yperr_string(int);
 extern int ypprot_err(int);
 extern int yp_update(char *, char *, unsigned,  char *, int, char *, int);
 
-#else
-
-extern int yp_bind();
-extern int __yp_dobind();
-extern void yp_unbind();
-extern int yp_get_default_domain();
-extern int yp_match();
-extern int yp_first();
-extern int yp_next();
-extern int yp_master();
-extern int yp_order();
-extern int yp_all();
-extern char *yperr_string();
-extern int ypprot_err();
-extern int yp_update();
-#endif  /* __STDC__ */
-
 /*
  * Global yp data structures
  */
 
 #ifdef  __cplusplus