]> git.ipfire.org Git - thirdparty/FORT-validator.git/commitdiff
Remove unused includes
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 25 Oct 2023 22:26:26 +0000 (16:26 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 25 Oct 2023 22:27:45 +0000 (16:27 -0600)
src/rtr/pdu.c
src/rtr/pdu_sender.c
src/rtr/pdu_stream.c

index 69d0113ab40c3f1a480a2499c3db67a186480b5d..86fcd1416147edcd03bf55e84292ec51848efdb9 100644 (file)
@@ -1,15 +1,5 @@
 #include "rtr/pdu.h"
 
-#include <errno.h>
-
-#include "alloc.h"
-#include "common.h"
-#include "log.h"
-#include "types/address.h"
-#include "rtr/err_pdu.h"
-#include "rtr/pdu_handler.h"
-#include "rtr/pdu_sender.h"
-
 char const *
 pdutype2str(enum pdu_type type)
 {
@@ -38,4 +28,3 @@ pdutype2str(enum pdu_type type)
 
        return "unknown PDU";
 }
-
index 10a5da6db091d3484669230ce8751cb24e075b7c..afef396561e6d8a1ba5c13bb6ccdf0a541167d18 100644 (file)
@@ -2,7 +2,6 @@
 
 #include <errno.h>
 #include <poll.h>
-#include <syslog.h>
 
 #include "alloc.h"
 #include "common.h"
index d90a8070add9f6781c5a7f58406974d04ef65c7e..59d36bfaea7e01ddd6b3e43d39b51eb538b8b3b5 100644 (file)
@@ -1,7 +1,6 @@
 #include "rtr/pdu_stream.h"
 
 #include <errno.h>
-#include <stddef.h>
 
 #include "log.h"
 #include "alloc.h"
@@ -637,4 +636,3 @@ rtreq_destroy(struct rtr_request *request)
        free(request->pdu.raw.bytes);
        free(request);
 }
-