summaryrefslogtreecommitdiff
path: root/src/basic/ring.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-08-27 21:38:36 +0200
committerTom Gundersen <teg@jklm.no>2015-08-27 21:38:36 +0200
commit4a316c44aa6222f3abc7ed2d50d00a0817cd4466 (patch)
treea66424ffac18c715c70fce1484366cd3c7a9415d /src/basic/ring.h
parentd56cc298808b2dbfa28ae893d6f47f34df3196b1 (diff)
parentc2c940bda03a07fbacfa3df2590ed865ec3dcc22 (diff)
Merge pull request #1055 from poettering/dhcp-updates
Various networkd and dhcp updates
Diffstat (limited to 'src/basic/ring.h')
-rw-r--r--src/basic/ring.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/basic/ring.h b/src/basic/ring.h
index a7c44d1b56..dbd6296384 100644
--- a/src/basic/ring.h
+++ b/src/basic/ring.h
@@ -50,7 +50,6 @@ int ring_push(Ring *r, const void *u8, size_t size);
void ring_pull(Ring *r, size_t size);
/* return size of occupied buffer in bytes */
-static inline size_t ring_get_size(Ring *r)
-{
+static inline size_t ring_get_size(Ring *r) {
return r->used;
}