commit | 611aa19fd60fe57059d9972fa6ae29f7472a13cf | [log] [tgz] |
---|---|---|
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | Wed Aug 02 18:44:00 2006 +0200 |
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | Sun Sep 17 19:31:20 2006 +0200 |
tree | a87f71ef393eec3e904291d1d5da1f2fdc5bb11b | |
parent | 4b60912e52bc6ccdf587f2b92f3435ee2678d730 [diff] |
ieee1394: safer definition of empty macros A deactivated macro, defined as "#define foo(bar)", will result in silent corruption if somebody forgets a semicolon after a call to foo. Replace it by "#define foo(bar) do {} while (0)" which will reveal any respective syntax errors. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>