<arpa/nameser.h>, <arpa/nameser_compat.h>: Remove versions

Our header files no longer match the BIND versions.
This commit is contained in:
Florian Weimer 2016-09-21 16:09:20 +02:00
parent 17b09beee7
commit 006768c72a
3 changed files with 6 additions and 20 deletions

View File

@ -1,3 +1,9 @@
2016-09-21 Florian Weimer <fweimer@redhat.com>
Remove misleading version information.
* resolv/arpa/nameser.h (__NAMESER): Remove.
* resolv/arpa/nameser_compat.h (__BIND): Remove.
2016-09-21 Florian Weimer <fweimer@redhat.com>
Remove the always-defined BIND_4_COMPAT macro.

View File

@ -45,10 +45,6 @@
* SOFTWARE.
*/
/*
* $BINDId: nameser.h,v 8.37 2000/03/30 21:16:49 vixie Exp $
*/
#ifndef _ARPA_NAMESER_H_
#define _ARPA_NAMESER_H_
@ -56,15 +52,6 @@
#include <sys/types.h>
#include <sys/cdefs.h>
/*%
* Revision information. This is the release date in YYYYMMDD format.
* It can change every day so the right thing to do with it is use it
* in preprocessor commands such as "#if (__NAMESER > 19931104)". Do not
* compare for equality; rather, use it to determine whether your libbind.a
* contains a new enough lib/nameser/ to support the feature you need.
*/
#define __NAMESER 19991006 /*%< New interface version stamp. */
/*
* Define constants based on RFC 883, RFC 1034, RFC 1035
*/

View File

@ -26,16 +26,9 @@
* SUCH DAMAGE.
*/
/*%
* from nameser.h 8.1 (Berkeley) 6/2/93
* $BINDId: nameser_compat.h,v 8.11 1999/01/02 08:00:58 vixie Exp $
*/
#ifndef _ARPA_NAMESER_COMPAT_
#define _ARPA_NAMESER_COMPAT_
#define __BIND 19950621 /*%< (DEAD) interface version stamp. */
#include <endian.h>
/*%