summaryrefslogtreecommitdiff
path: root/src/libudev
diff options
context:
space:
mode:
authorTopi Miettinen <topimiettinen@users.noreply.github.com>2019-01-15 09:12:28 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-01-15 08:12:28 +0100
commita1e92eee3e928e33942b35f308621af0d43e91c8 (patch)
tree7fa341b06dc2c64a1e318e661939c6f98dedbad4 /src/libudev
parent1c8e48f50661504e6b74a0eeaa3336f54e1e4238 (diff)
downloadsystemd-a1e92eee3e928e33942b35f308621af0d43e91c8.tar.gz
Remove 'inline' attributes from static functions in .c files (#11426)
Let the compiler perform inlining (see #11397).
Diffstat (limited to 'src/libudev')
-rw-r--r--src/libudev/libudev-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/libudev-list.c b/src/libudev/libudev-list.c
index 5f6726c2d8..2737326187 100644
--- a/src/libudev/libudev-list.c
+++ b/src/libudev/libudev-list.c
@@ -61,7 +61,7 @@ static void udev_list_node_remove(struct udev_list_node *entry) {
}
/* return list entry which embeds this node */
-static inline struct udev_list_entry *list_node_to_entry(struct udev_list_node *node) {
+static struct udev_list_entry *list_node_to_entry(struct udev_list_node *node) {
return container_of(node, struct udev_list_entry, node);
}