Print this page
remove support for non-ANSI compilation

@@ -1,6 +1,8 @@
 /*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  *
  * Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T
  * All Rights Reserved

@@ -128,19 +130,13 @@
 
 #ifndef _PATH_RESCONF
 #define _PATH_RESCONF           "/etc/resolv.conf"
 #endif
 
-#ifdef __STDC__
 #ifndef __P
 #define __P(x)  x
 #endif
-#else
-#ifndef __P
-#define __P(x)  ()
-#endif
-#endif /* __STDC__ */
 
 typedef enum { res_goahead, res_nextns, res_modified, res_done, res_error }
         res_sendhookact;
 
 typedef res_sendhookact (*res_send_qhook)__P((struct sockaddr * const *ns,