[chrony-dev] [PATCH] Mac OS X - tidy up includes |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: [chrony-dev] [PATCH] Mac OS X - tidy up includes
- From: Bryan Christianson <bryan@xxxxxxxxxxxxx>
- Date: Tue, 24 Nov 2015 22:07:58 +1300
- Cc: Bryan Christianson <bryan@xxxxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpcorp.com; s=a0-2; h=Feedback-ID:X-Smtpcorp-Track:Message-Id:Date: Subject:To:From; bh=wMbexXIaS+3BdPVTPVbBiXcQkgU3IpZKn5JMCH3htKE=; b=0YjtAssvE YzfxlNSzZ8GEHqeq+jqT6eM/iWMJ11GTKSDJ46olnlTxhwcWBkHMZ7Wgszl8WG/QzRgUf5lgwx9ON NEki6ZyRrgx/A6wq2W11O2h/fLEPULi2dEGvZ1o/mfu0FDye3c80BdDbUkNEtCB6gR8L60FSOrvar 2dhqO/Nrn6t830qAQctItUEOTXHU3W+s4My8AFNdadA4UgQJ/BHUIHHXGulgkoBlBBCbpzqdwNKdK lFX+E5uyckdqLGm0AMpvJMfhUa/+wU9XLqUdhdJoruf6OWTSErK6Rf/L7wd7iFuNudTa9clHxEzQj WSLr+Ypm48dnbuP1V9kn1YiXQ==;
- Feedback-id: 149811m:149811acx33YQ:149811sVaJISOqDV:SMTPCORP
Use "sysincl.h" in place of the common system include files
---
sys_macosx.c | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/sys_macosx.c b/sys_macosx.c
index bda7308..36981ba 100644
--- a/sys_macosx.c
+++ b/sys_macosx.c
@@ -31,16 +31,7 @@
#ifdef MACOSX
-#include <sys/sysctl.h>
-#include <sys/time.h>
-
-#include <nlist.h>
-#include <fcntl.h>
-#include <assert.h>
-#include <sys/time.h>
-
-#include <stdio.h>
-#include <signal.h>
+#include "sysincl.h"
#include <mach/mach.h>
#include <mach/mach_time.h>
@@ -48,8 +39,8 @@
#include "sys_macosx.h"
#include "localp.h"
-#include "sched.h"
#include "logging.h"
+#include "sched.h"
#include "privops.h"
#include "util.h"
--
2.4.9 (Apple Git-60)
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.