chiark / gitweb /
sd-lldp: minor header cleanup
authorTom Gundersen <teg@jklm.no>
Fri, 19 Dec 2014 21:42:03 +0000 (22:42 +0100)
committerTom Gundersen <teg@jklm.no>
Fri, 19 Dec 2014 21:42:03 +0000 (22:42 +0100)
commit7a6f1457462840ed52f2a332e2bd56ca210cff2d
tree6b5edb9a071082233c0ed042e2a6f44cdd07d96c
parent2cd3aa24820e5d82375c8cc3e4446d884ee4fee0
sd-lldp: minor header cleanup

 * (potentially) public headers must reside in src/systemd/ (not in
   src/libsystemd*)
 * some private (not prefixed with sd_) functions moved from sd-lldp.h to
   lldp-internal.h
 * introduce lldp-util.h for the cleanup macro, as these should not be public
 * rename the cleanup macro, we always name them _cleanup_foo_, never
   _cleanup_sd_foo_
 * mark some function arguments as 'const'
Makefile.am
src/libsystemd-network/lldp-internal.h
src/libsystemd-network/lldp-network.c
src/libsystemd-network/lldp-port.c
src/libsystemd-network/lldp-port.h
src/libsystemd-network/lldp-util.h [new file with mode: 0644]
src/libsystemd-network/sd-lldp.c
src/systemd/sd-lldp.h [moved from src/libsystemd-network/sd-lldp.h with 82% similarity]