From 9e927d1376e8e98afca6a4e5567c7cbabb1702f6 Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Tue, 11 Sep 2018 11:48:30 +0200 Subject: [PATCH] AP_Math: correct copyright, add pragma-once --- libraries/AP_Math/crc.h | 1 + libraries/AP_Math/vector2.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/AP_Math/crc.h b/libraries/AP_Math/crc.h index 55d50c5402..d8abbd5b97 100644 --- a/libraries/AP_Math/crc.h +++ b/libraries/AP_Math/crc.h @@ -15,6 +15,7 @@ /* interfaces to ArduPilot collection of CRCs. */ +#pragma once uint8_t crc_crc8(const uint8_t *p, uint8_t len); uint16_t crc_xmodem_update(uint16_t crc, uint8_t data); diff --git a/libraries/AP_Math/vector2.h b/libraries/AP_Math/vector2.h index 7067cb4e5a..0a3e5a0c19 100644 --- a/libraries/AP_Math/vector2.h +++ b/libraries/AP_Math/vector2.h @@ -24,7 +24,7 @@ * 18-12-2003 * 06-06-2004 * -* © 2003, This code is provided "as is" and you can use it freely as long as +* Copyright 2003, This code is provided "as is" and you can use it freely as long as * credit is given to Bill Perone in the application it is used in ****************************************/ #pragma once