summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp-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/dhcp-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/dhcp-lease-internal.h')
-rw-r--r--src/libsystemd-network/dhcp-lease-internal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsystemd-network/dhcp-lease-internal.h b/src/libsystemd-network/dhcp-lease-internal.h
index d6b8aaa2d1..e1d2555505 100644
--- a/src/libsystemd-network/dhcp-lease-internal.h
+++ b/src/libsystemd-network/dhcp-lease-internal.h
@@ -25,7 +25,6 @@
#include <stdint.h>
#include <linux/if_packet.h>
-#include "refcnt.h"
#include "util.h"
#include "list.h"
@@ -48,7 +47,7 @@ struct sd_dhcp_raw_option {
};
struct sd_dhcp_lease {
- RefCount n_ref;
+ int n_ref;
int32_t time_offset;
uint32_t t1;