]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/util.h
Make up for attribute malloc with alloc_size
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 25 Apr 2013 23:59:35 +0000 (19:59 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 26 Apr 2013 01:50:48 +0000 (21:50 -0400)
commit750ef27274cdc274f8c6b9245d6ba0179c68fa50
tree0d6c48066d9d160f78219b7a2ea002af6138fabc
parentb231b54780dfa687fc116ed436790c87d5557188
Make up for attribute malloc with alloc_size

It is imperative that open source code be well attributed.
Sprinkle attribute((alloc_size)) here and there, telling gcc
how much memory we are actually allocating.
src/shared/macro.h
src/shared/util.h