aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-06-03 08:57:49 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-06-03 08:57:49 -0400
commit09376a932b2af4c66dbf3230a8e5d604701d781b (patch)
tree7d24159dbada82232919a507aac7c1f8d49c989e /src/udev/udevadm-hwdb.c
parentsrc/libudev/libudev-device.c: fix typo (diff)
downloadeudev-09376a932b2af4c66dbf3230a8e5d604701d781b.tar.gz
eudev-09376a932b2af4c66dbf3230a8e5d604701d781b.tar.bz2
eudev-09376a932b2af4c66dbf3230a8e5d604701d781b.zip
Move remaining _cleanup_free_ in front of type
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev/udevadm-hwdb.c')
-rw-r--r--src/udev/udevadm-hwdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udevadm-hwdb.c b/src/udev/udevadm-hwdb.c
index c71da0df8..4c341a319 100644
--- a/src/udev/udevadm-hwdb.c
+++ b/src/udev/udevadm-hwdb.c
@@ -181,9 +181,9 @@ static int trie_insert(struct trie *trie, struct trie_node *node, const char *se
struct trie_node *child;
for (p = 0; (c = trie->strings->buf[node->prefix_off + p]); p++) {
- char _cleanup_free_ *s = NULL;
+ _cleanup_free_ char *s = NULL;
ssize_t off;
- struct trie_node _cleanup_free_ *new_child = NULL;
+ _cleanup_free_ struct trie_node *new_child = NULL;
if (c == search[i + p])
continue;