chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Patch 3/3] Add cgroups initialization and handling
[elogind.git]
/
src
/
basic
/
ring.h
diff --git
a/src/basic/ring.h
b/src/basic/ring.h
index fc857e7a98fef9508d05a95b46b446c5d0963714..dcd0a3e8bbf8d29176ff42544018d174b300d4df 100644
(file)
--- 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;
}