tree-wide: use '#pragma once' for header guard

Follow-up for a2b635eb39 (#9959).
This commit is contained in:
Yu Watanabe
2018-08-30 06:10:43 +03:00
committed by Evgeny Vereshchagin
parent eaaec6cc12
commit 7a3c343cb8
14 changed files with 14 additions and 59 deletions
+1 -4
View File
@@ -20,8 +20,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*/
#ifndef SPARSE_ENDIAN_H
#define SPARSE_ENDIAN_H
#pragma once
#include <byteswap.h>
#include <endian.h>
@@ -89,5 +88,3 @@ static inline uint64_t be64toh(be64_t value) { return bswap_64_on_le((uint64_t _
#undef __sd_bitwise
#undef __sd_force
#endif /* SPARSE_ENDIAN_H */