From: Harlan Stenn Date: Wed, 23 Jun 1999 03:37:27 +0000 (-0000) Subject: ChangeLog, configure, configure.in, ntp_loopfilter.c: X-Git-Tag: NTP_4_0_94~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48e7502fc629a4f931edcf983e2a57860cc104f0;p=thirdparty%2Fntp.git ChangeLog, configure, configure.in, ntp_loopfilter.c: * configure.in: Fix typo with DECL_H_ERRNO test * ntpd/ntp_loopfilter.c: Lose syscall decl, it's handled in l_stdlib.h now. bk: 37705677gVeUlMiY1c90mjX30FslXA --- diff --git a/ChangeLog b/ChangeLog index 0dad9e72f7..d920462b86 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +1999-06-22 Harlan Stenn + + * configure.in: Fix typo with DECL_H_ERRNO test + + * ntpd/ntp_loopfilter.c: Lose syscall decl, it's handled in + l_stdlib.h now. + Mon May 31 18:49:49 1999 Rainer Orth * ntpd/ntp_proto.c (proto_config): Don't set sys_bclient on diff --git a/configure b/configure index 6bc06023a8..30f997417f 100755 --- a/configure +++ b/configure @@ -6033,7 +6033,7 @@ rm -f conftest* fi echo "$ac_t""$ac_cv_decl_h_errno" 1>&6 -case "$ac_cv_decl_errno" in +case "$ac_cv_decl_h_errno" in yes) cat >> confdefs.h <<\EOF #define DECL_H_ERRNO 1 EOF diff --git a/configure.in b/configure.in index ec157a9473..396dd79d26 100644 --- a/configure.in +++ b/configure.in @@ -666,7 +666,7 @@ AC_CACHE_CHECK(if we may declare 'h_errno', ac_cv_decl_h_errno, #endif], [extern int h_errno;], ac_cv_decl_h_errno=yes, ac_cv_decl_h_errno=no)]) -case "$ac_cv_decl_errno" in +case "$ac_cv_decl_h_errno" in yes) AC_DEFINE(DECL_H_ERRNO) ;; esac diff --git a/ntpd/ntp_loopfilter.c b/ntpd/ntp_loopfilter.c index 286a6aec08..fc0701384a 100644 --- a/ntpd/ntp_loopfilter.c +++ b/ntpd/ntp_loopfilter.c @@ -168,11 +168,6 @@ extern u_long current_time; /* like it says, in seconds */ /* Emacs cc-mode goes nuts if we split the next line... */ #define MOD_BITS (MOD_OFFSET | MOD_MAXERROR | MOD_ESTERROR | \ MOD_STATUS | MOD_TIMECONST) -#ifdef NTP_SYSCALLS_STD -#ifdef DECL_SYSCALL -extern int syscall P((int, void *, ...)); -#endif /* DECL_SYSCALL */ -#endif /* NTP_SYSCALLS_STD */ void pll_trap P((int)); #ifdef SIGSYS static struct sigaction sigsys; /* current sigaction status */