summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp6-lease-internal.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-26 21:05:53 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-26 21:05:53 +0200
commit3733eec3e292e4ddb4cba5eb8d3bd8cbee7102d8 (patch)
tree0bacacbb979dba4f5095391d65360ff709a3657d /src/libsystemd-network/dhcp6-lease-internal.h
parent57de20dd8fcf156ce8071810f0be8a22786bb1c0 (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.h4
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;