projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f9b6cd
)
macro: fix ALIGN_TO macro definition
author
Lennart Poettering
<lennart@poettering.net>
Tue, 8 Nov 2011 17:18:48 +0000
(18:18 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 8 Nov 2011 17:18:48 +0000
(18:18 +0100)
src/macro.h
patch
|
blob
|
history
diff --git
a/src/macro.h
b/src/macro.h
index
e7a4d2c
..
3f30aa7
100644
(file)
--- a/
src/macro.h
+++ b/
src/macro.h
@@
-149,7
+149,7
@@
static inline size_t ALIGN_TO(size_t l, size_t ali) {
char *_s = (char *)(s); \
_i->iov_base = _s; \
_i->iov_len = strlen(_s); \
- } while(false)
;
+ } while(false)
static inline size_t IOVEC_TOTAL_SIZE(const struct iovec *i, unsigned n) {
unsigned j;