commit | 9aadf85a29be2a74e46fc67b5313d41aee81dac7 | [log] [tgz] |
---|---|---|
author | Josh Triplett <josh@joshtriplett.org> | Fri Apr 19 12:10:38 2013 -0700 |
committer | Christopher Li <sparse@chrisli.org> | Sun Apr 21 20:55:10 2013 -0700 |
tree | 75a01db121c05159645cf68216db6b4f6f9b2506 | |
parent | f022d1c8b777af93ef25205cbc34cb6b64c698a7 [diff] |
Support #pragma once "#pragma once" acts like a multiple-inclusion guard affecting the entire file, without an associated preprocessor symbol. This allows use of sparse on projects that rely on #pragma once without also using an ifndef-based multiple-inclusion guard, such as systemd; without this change, sparse will get into an include loop. Signed-off-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Christopher Li <sparse@chrisli.org>