diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-08-26 21:05:53 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-08-26 21:05:53 +0200 |
commit | 3733eec3e292e4ddb4cba5eb8d3bd8cbee7102d8 (patch) | |
tree | 0bacacbb979dba4f5095391d65360ff709a3657d /src/libsystemd-network/dhcp6-lease-internal.h | |
parent | 57de20dd8fcf156ce8071810f0be8a22786bb1c0 (diff) |
dhcp: stop using refcnt.h
No need to invole atomic ops in single-threaded APIs, let's simplify
this.
Diffstat (limited to 'src/libsystemd-network/dhcp6-lease-internal.h')
-rw-r--r-- | src/libsystemd-network/dhcp6-lease-internal.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libsystemd-network/dhcp6-lease-internal.h b/src/libsystemd-network/dhcp6-lease-internal.h index 037f580eb6..4edecf7711 100644 --- a/src/libsystemd-network/dhcp6-lease-internal.h +++ b/src/libsystemd-network/dhcp6-lease-internal.h @@ -24,13 +24,11 @@ #include <stdint.h> -#include "refcnt.h" - #include "sd-dhcp6-lease.h" #include "dhcp6-internal.h" struct sd_dhcp6_lease { - RefCount n_ref; + unsigned n_ref; uint8_t *serverid; size_t serverid_len; |