[Git][NTPsec/ntpsec][master] More RTPRIO cleanup
Hal Murray
gitlab at mg.gitlab.com
Mon Jul 18 18:54:06 UTC 2016
Hal Murray pushed to branch master at NTPsec / ntpsec
Commits:
913b29f2 by Hal Murray at 2016-07-18T11:37:05-07:00
More RTPRIO cleanup
- - - - -
3 changed files:
- include/ntp_machine.h
- ntpd/check_y2k.c
- ntpd/ntpd.c
Changes:
=====================================
include/ntp_machine.h
=====================================
--- a/include/ntp_machine.h
+++ b/include/ntp_machine.h
@@ -61,9 +61,4 @@ int ntp_set_tod (struct timespec *tvs);
}
#endif /* NO_MAIN_ALLOWED */
-#ifdef HAVE_RTPRIO
-# define HAVE_NO_NICE
-#endif
-
-
#endif /* GUARD_NTP_MACHINE_H */
=====================================
ntpd/check_y2k.c
=====================================
--- a/ntpd/check_y2k.c
+++ b/ntpd/check_y2k.c
@@ -47,19 +47,6 @@
# include <io.h>
# include "../libntp/log.h"
#endif /* SYS_WINNT */
-#if defined(HAVE_RTPRIO)
-#include <sys/resource.h>
-# ifdef HAVE_SYS_LOCK_H
-# include <sys/lock.h>
-# endif
-# include <sys/rtprio.h>
-#else
-# ifdef HAVE_PLOCK
-# ifdef HAVE_SYS_LOCK_H
-# include <sys/lock.h>
-# endif
-# endif
-#endif
#include <sched.h>
#include <sys/mman.h>
=====================================
ntpd/ntpd.c
=====================================
--- a/ntpd/ntpd.c
+++ b/ntpd/ntpd.c
@@ -30,9 +30,6 @@
#ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif /* HAVE_SYS_IOCTL_H */
-#if defined(HAVE_RTPRIO)
-# include <sys/rtprio.h>
-#endif
#include <sched.h>
#include <sys/mman.h>
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/913b29f2c59743f42fbf9eeea686b43bbbf2dab3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160718/69b46f66/attachment.html>
More information about the vc
mailing list