diff options
author | roberto <roberto@FreeBSD.org> | 2008-08-22 15:58:00 +0000 |
---|---|---|
committer | roberto <roberto@FreeBSD.org> | 2008-08-22 15:58:00 +0000 |
commit | b85c7169a740b2edf0106ad59fdaa1b0160f823c (patch) | |
tree | 2b9fb7f64eacb322e95695e412c923e97ba33e88 /contrib/ntp/include/ntp_machine.h | |
parent | 1d197cfe9feac6bc29537d8e53c30b6435937b95 (diff) | |
parent | 7a6072eb585696f8856cd498c3fd194cf49f14c6 (diff) | |
download | FreeBSD-src-b85c7169a740b2edf0106ad59fdaa1b0160f823c.zip FreeBSD-src-b85c7169a740b2edf0106ad59fdaa1b0160f823c.tar.gz |
Merge ntpd & friends 4.2.4p5 from vendor/ntp/dist into head. Next commit
will update usr.sbin/ntp to match this.
MFC after: 2 weeks
Diffstat (limited to 'contrib/ntp/include/ntp_machine.h')
-rw-r--r-- | contrib/ntp/include/ntp_machine.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/contrib/ntp/include/ntp_machine.h b/contrib/ntp/include/ntp_machine.h index 65ef5be..2a3b6e6 100644 --- a/contrib/ntp/include/ntp_machine.h +++ b/contrib/ntp/include/ntp_machine.h @@ -54,8 +54,6 @@ HOW TO GET IP INTERFACE INFORMATION the stream in an I_STR ioctl. This ususally also implies USE_STREAMS_DEVICE FOR IF_CONFIG. Dell UNIX is a notable exception. - STREAMS_TLI - use ioctl(I_STR) to implement ioctl(SIOCGIFCONF) - WHAT DOES IOCTL(SIOCGIFCONF) RETURN IN THE BUFFER UNIX V.4 machines implement a sockets library on top of streams. @@ -81,11 +79,6 @@ MISC RETSIGTYPE - Define signal function type. NO_SIGNED_CHAR_DECL - No "signed char" see include/ntp.h LOCK_PROCESS - Have plock. - UDP_WILDCARD_DELIVERY - - these systems deliver broadcast packets to the wildcard - port instead to a port bound to the interface bound - to the correct broadcast address - are these - implementations broken or did the spec change ? */ /* @@ -99,6 +92,10 @@ MISC #endif /* not __STDC__ and not HAVE_PROTOTYPES */ #endif /* P */ +#if !defined(HAVE_NTP_ADJTIME) && defined(HAVE___ADJTIMEX) +# define ntp_adjtime __adjtimex +#endif + #if 0 /* @@ -244,6 +241,7 @@ typedef unsigned long u_long; #ifndef SYS_WINNT # define SOCKET int # define INVALID_SOCKET -1 +# define SOCKET_ERROR -1 # define closesocket close #endif /* @@ -272,8 +270,6 @@ typedef unsigned long u_long; # define unlink _unlink # define fileno _fileno # define write _write -# define vsnprintf _vsnprintf -# define snprintf _snprintf #ifndef close # define close _close #endif @@ -355,8 +351,6 @@ extern void alarm P((int seconds)); #define getclock clock_gettime #define fcntl ioctl #define _getch getchar -#define random rand -#define srandom srand /* define this away for vxWorks */ #define openlog(x,y) |