The macro DEFINE_STRING_TABLE_LOOKUP is expanding to a new function for
each tables. (I calculated it was aproximity 120 tables)

With this patch we move its implementation to a function to never be inlined.

This will make systemd to be a few kilobytes smaller.

Bruno Bottazzini (1):
  util: Use a shared lookup function for string tables

 src/shared/util.c |  9 +++++++++
 src/shared/util.h | 15 ++++++---------
 2 files changed, 15 insertions(+), 9 deletions(-)

-- 
1.9.1

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to