move _cleanup_ attribute in front of the type

http://lists.freedesktop.org/archives/systemd-devel/2013-April/010510.html
This commit is contained in:
Harald Hoyer
2013-04-18 09:11:22 +02:00
parent d70964d0f6
commit 7fd1b19bc9
69 changed files with 274 additions and 274 deletions
+2 -2
View File
@@ -76,7 +76,7 @@ static int add_modules(const char *p) {
}
static int parse_proc_cmdline(void) {
char _cleanup_free_ *line = NULL;
_cleanup_free_ char *line = NULL;
char *w, *state;
int r;
size_t l;
@@ -91,7 +91,7 @@ static int parse_proc_cmdline(void) {
}
FOREACH_WORD_QUOTED(w, l, line, state) {
char _cleanup_free_ *word;
_cleanup_free_ char *word;
word = strndup(w, l);
if (!word)