From 12ba778afdb797575e05284decd34cf2c27e3647 Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Mon, 16 Jun 2014 10:13:40 +0200 Subject: include: Switch to #pragma once pattern Signed-off-by: Sylvain Munaut --- include/osmocom/core/crc16.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/osmocom/core/crc16.h') diff --git a/include/osmocom/core/crc16.h b/include/osmocom/core/crc16.h index 0e524176..83b2e5f7 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 @@ -30,5 +29,3 @@ static inline uint16_t osmo_crc16_byte(uint16_t crc, const uint8_t data) { return (crc >> 8) ^ osmo_crc16_table[(crc ^ data) & 0xff]; } - -#endif /* __CRC16_H */ -- cgit v1.2.3