chiark / gitweb /
sd-lldp: minor header cleanup
[elogind.git] / src / libsystemd-network / lldp-port.h
index 1b1ae040d145ff8f3d07236d73dbaece4bb3f5c5..b2d3180091921450ae48ee655a82d124fb7c30ff 100644 (file)
@@ -27,6 +27,8 @@
 #include "sd-event.h"
 #include "sd-lldp.h"
 
 #include "sd-event.h"
 #include "sd-lldp.h"
 
+#include "util.h"
+
 typedef struct lldp_port lldp_port;
 
 struct lldp_port {
 typedef struct lldp_port lldp_port;
 
 struct lldp_port {
@@ -48,7 +50,7 @@ struct lldp_port {
 };
 
 int lldp_port_new(int ifindex,
 };
 
 int lldp_port_new(int ifindex,
-                  char *ifname,
+                  const char *ifname,
                   const struct ether_addr *addr,
                   void *userdata,
                   lldp_port **ret);
                   const struct ether_addr *addr,
                   void *userdata,
                   lldp_port **ret);