commit | e8fd8fec236062e94e9486c64e482b780988f9bf | [log] [tgz] |
---|---|---|
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | Wed Jul 18 10:19:48 2012 -0300 |
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | Wed Jul 18 10:31:50 2012 -0300 |
tree | 8a2682f3bcb0f40af1ca0ed3680c85ececd804da | |
parent | 4e7f0f204bc82ce749cad6613b066993f530cbe6 [diff] |
Use #pragma once instead of #ifndef Only the public header maintains #ifndef in the header, together with pragma. The other ones contain only pragma. As reported by Shawn Landden on systemd mailing list this is compatible with all major compilers and gcc has this since version 3.3.