remove unused includes
This patch removes includes that are not used. The removals were found with include-what-you-use which checks if any of the symbols from a header is in use.
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
along with systemd; If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#include "in-addr-util.h"
|
||||
|
||||
#include "timesyncd-manager.h"
|
||||
#include "timesyncd-server.h"
|
||||
|
||||
@@ -21,21 +21,15 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include <math.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <sys/timerfd.h>
|
||||
#include <sys/timex.h>
|
||||
#include <sys/socket.h>
|
||||
#include <resolv.h>
|
||||
#include <sys/prctl.h>
|
||||
#include <sys/types.h>
|
||||
#include <grp.h>
|
||||
|
||||
#include "missing.h"
|
||||
#include "util.h"
|
||||
@@ -45,13 +39,8 @@
|
||||
#include "list.h"
|
||||
#include "ratelimit.h"
|
||||
#include "strv.h"
|
||||
#include "conf-parser.h"
|
||||
#include "sd-daemon.h"
|
||||
#include "event-util.h"
|
||||
#include "network-util.h"
|
||||
#include "clock-util.h"
|
||||
#include "capability.h"
|
||||
#include "mkdir.h"
|
||||
#include "timesyncd-conf.h"
|
||||
#include "timesyncd-manager.h"
|
||||
#include "time-util.h"
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#include "sd-resolve.h"
|
||||
#include "sd-network.h"
|
||||
#include "list.h"
|
||||
#include "socket-util.h"
|
||||
#include "ratelimit.h"
|
||||
|
||||
typedef struct Manager Manager;
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
|
||||
#include "sd-event.h"
|
||||
#include "sd-daemon.h"
|
||||
#include "mkdir.h"
|
||||
#include "capability.h"
|
||||
#include "clock-util.h"
|
||||
#include "network-util.h"
|
||||
|
||||
Reference in New Issue
Block a user