include: Switch to #pragma once pattern
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
diff --git a/include/osmocom/core/crc16.h b/include/osmocom/core/crc16.h
index 0e52417..83b2e5f 100644
--- a/include/osmocom/core/crc16.h
+++ b/include/osmocom/core/crc16.h
@@ -15,8 +15,7 @@
* Version 2. See the file COPYING for more details.
*/
-#ifndef __CRC16_H
-#define __CRC16_H
+#pragma once
#include <stdint.h>
@@ -30,5 +29,3 @@
{
return (crc >> 8) ^ osmo_crc16_table[(crc ^ data) & 0xff];
}
-
-#endif /* __CRC16_H */