Remove unused unistd.h an sys/time.h includes
For the most part glib has superseded low level POSIX fork/pipe /open/close/.. I/O.
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include <unistd.h>
|
||||
#include <cerrno>
|
||||
#include <vector>
|
||||
#include <exception>
|
||||
|
||||
@@ -26,10 +26,8 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <sys/stat.h>
|
||||
#include <stdio.h> // for rename(), sigh
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef HAVE_IOPRIO
|
||||
#include <sys/syscall.h>
|
||||
|
||||
@@ -22,9 +22,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
||||
@@ -19,8 +19,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#include <cstring>
|
||||
#include <climits>
|
||||
#include <cerrno>
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
#include <sstream>
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
#ifndef PLATFORM_WINDOWS
|
||||
#include <sys/resource.h>
|
||||
@@ -45,7 +44,6 @@
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include "pbd/gstdio_compat.h"
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#include <string>
|
||||
#include <climits>
|
||||
#include <cerrno>
|
||||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
#include <time.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -18,9 +18,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include <algorithm>
|
||||
#include <glibmm.h>
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include <cmath>
|
||||
#include <vector>
|
||||
|
||||
#include <unistd.h>
|
||||
#include <locale.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
#include <algorithm>
|
||||
#include <set>
|
||||
#include <cstdio> /* for sprintf */
|
||||
#include <unistd.h>
|
||||
#include <cerrno>
|
||||
#include <ctime>
|
||||
#include <list>
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#include <iostream>
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "pbd/error.h"
|
||||
#include "pbd/failed_constructor.h"
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <cmath>
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "pbd/error.h"
|
||||
#include "pbd/failed_constructor.h"
|
||||
#include "pbd/pthread_utils.h"
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
*/
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <float.h>
|
||||
#include <cerrno>
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#include <iostream>
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "pbd/error.h"
|
||||
#include "pbd/pthread_utils.h"
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#include <glibmm/pattern.h>
|
||||
#include <glibmm/fileutils.h>
|
||||
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
#include <locale.h>
|
||||
#include <unistd.h>
|
||||
#include <float.h>
|
||||
#include <iomanip>
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include <unistd.h>
|
||||
#include <cstdio> /* for snprintf, grrr */
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include <cstdio> /* sprintf(3) ... grrr */
|
||||
#include <cmath>
|
||||
#include <cerrno>
|
||||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include <glibmm/datetime.h>
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
*/
|
||||
|
||||
#include <cmath>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "pbd/error.h"
|
||||
#include "pbd/enumwriter.h"
|
||||
|
||||
@@ -29,8 +29,6 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#include <glibmm/main.h>
|
||||
|
||||
#include "midi++/mmc.h"
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <cmath>
|
||||
#include <cerrno>
|
||||
#include <algorithm>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "pbd/i18n.h"
|
||||
#include "pbd/error.h"
|
||||
|
||||
@@ -40,10 +40,8 @@
|
||||
#include <cstdio> /* snprintf(3) ... grrr */
|
||||
#include <cmath>
|
||||
|
||||
#include <unistd.h>
|
||||
#include <climits>
|
||||
#include <signal.h>
|
||||
#include <sys/time.h>
|
||||
/* for open(2) */
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
|
||||
#include <iostream>
|
||||
#include <cmath>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "ardour/timestamps.h"
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
|
||||
#include <cmath>
|
||||
#include <cerrno>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "pbd/atomic.h"
|
||||
#include "pbd/error.h"
|
||||
|
||||
@@ -25,14 +25,9 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <sys/stat.h>
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "pbd/file_utils.h"
|
||||
#include "pbd/stl_delete.h"
|
||||
#include "pbd/strsplit.h"
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <float.h>
|
||||
#include <cerrno>
|
||||
#include <ctime>
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <stdint.h>
|
||||
#else
|
||||
#include <sys/utsname.h>
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <glibmm/timer.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user