author | Sebastian Harl <sh@tokkee.org> | |
Mon, 18 Aug 2008 07:30:03 +0000 (09:30 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Tue, 19 Aug 2008 08:08:51 +0000 (10:08 +0200) | ||
commit | a824bd24b2cc4c38b328f27364a26f753f5b70b0 | |
tree | 61ef8efb5add79ca12a25e93e7769faa80606c65 | tree | snapshot |
parent | 540e2d3c242dd39bb304fc3548dad5437ed6eddc | commit | diff |
src/common.h: Make sfree() usable like a function.
By putting the code into a "do { } while (0)" loop it is treated like a single
statement and does not break "if () sfree()" like constructs.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
By putting the code into a "do { } while (0)" loop it is treated like a single
statement and does not break "if () sfree()" like constructs.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/common.h | diff | blob | history |