chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
consistently order cleanup attribute before type
[elogind.git]
/
src
/
journal
/
journal-remote-parse.c
diff --git
a/src/journal/journal-remote-parse.c
b/src/journal/journal-remote-parse.c
index 239ff381975703c920b0a9ad6d1e2348fe3905c6..dbdf02aa3c6ba5d8b6ad67858dedb8a4fbc0f6a7 100644
(file)
--- a/
src/journal/journal-remote-parse.c
+++ b/
src/journal/journal-remote-parse.c
@@
-177,7
+177,7
@@
static int fill_fixed_size(RemoteSource *source, void **data, size_t size) {
static int get_data_size(RemoteSource *source) {
int r;
static int get_data_size(RemoteSource *source) {
int r;
-
void _cleanup_free_
*data = NULL;
+
_cleanup_free_ void
*data = NULL;
assert(source);
assert(source->state == STATE_DATA_START);
assert(source);
assert(source->state == STATE_DATA_START);
@@
-215,7
+215,7
@@
static int get_data_data(RemoteSource *source, void **data) {
static int get_data_newline(RemoteSource *source) {
int r;
static int get_data_newline(RemoteSource *source) {
int r;
-
char _cleanup_free_
*data = NULL;
+
_cleanup_free_ char
*data = NULL;
assert(source);
assert(source->state == STATE_DATA_FINISH);
assert(source);
assert(source->state == STATE_DATA_FINISH);