summaryrefslogtreecommitdiff
path: root/src/systemd/sd-radv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd/sd-radv.h')
-rw-r--r--src/systemd/sd-radv.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/systemd/sd-radv.h b/src/systemd/sd-radv.h
index 53c507d88c..93861b9d24 100644
--- a/src/systemd/sd-radv.h
+++ b/src/systemd/sd-radv.h
@@ -22,14 +22,11 @@
#include <inttypes.h>
#include <net/ethernet.h>
#include <netinet/in.h>
-#include <stdbool.h>
#include <sys/types.h>
-#include "sd-ndisc.h"
-
-#include "sd-event.h"
-
#include "_sd-common.h"
+#include "sd-event.h"
+#include "sd-ndisc.h"
_SD_BEGIN_DECLARATIONS;
@@ -61,7 +58,7 @@ int sd_radv_set_router_lifetime(sd_radv *ra, uint32_t router_lifetime);
int sd_radv_set_managed_information(sd_radv *ra, int managed);
int sd_radv_set_other_information(sd_radv *ra, int other);
int sd_radv_set_preference(sd_radv *ra, unsigned preference);
-int sd_radv_add_prefix(sd_radv *ra, sd_radv_prefix *p, bool dynamic);
+int sd_radv_add_prefix(sd_radv *ra, sd_radv_prefix *p, int dynamic);
sd_radv_prefix *sd_radv_remove_prefix(sd_radv *ra, const struct in6_addr *prefix,
unsigned char prefixlen);
int sd_radv_set_rdnss(sd_radv *ra, uint32_t lifetime,