chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sd-lldp: minor header cleanup
[elogind.git]
/
src
/
libsystemd-network
/
sd-lldp.c
diff --git
a/src/libsystemd-network/sd-lldp.c
b/src/libsystemd-network/sd-lldp.c
index 45881e5f64a1a98ca889caa564f0ae0c7292051a..08cd092213bd7fbef0a6db96d9ecff32f80b9b01 100644
(file)
--- a/
src/libsystemd-network/sd-lldp.c
+++ b/
src/libsystemd-network/sd-lldp.c
@@
-32,6
+32,7
@@
#include "prioq.h"
#include "strv.h"
#include "lldp-internal.h"
#include "prioq.h"
#include "strv.h"
#include "lldp-internal.h"
+#include "lldp-util.h"
#include "ether-addr-util.h"
typedef enum LLDPAgentRXState {
#include "ether-addr-util.h"
typedef enum LLDPAgentRXState {
@@
-668,10
+669,10
@@
void sd_lldp_free(sd_lldp *lldp) {
}
int sd_lldp_new(int ifindex,
}
int sd_lldp_new(int ifindex,
- char *ifname,
- struct ether_addr *mac,
+ c
onst c
har *ifname,
+
const
struct ether_addr *mac,
sd_lldp **ret) {
sd_lldp **ret) {
- _cleanup_
sd_
lldp_free_ sd_lldp *lldp = NULL;
+ _cleanup_lldp_free_ sd_lldp *lldp = NULL;
int r;
assert_return(ret, -EINVAL);
int r;
assert_return(ret, -EINVAL);