From 6773e18bc4f6db48bde721e1b8ea56645a83b55b Mon Sep 17 00:00:00 2001 From: Caio Marcelo de Oliveira Filho Date: Fri, 20 Nov 2015 16:32:12 +0900 Subject: [PATCH] AP_HAL_Linux: Remove unused extern declaration for HALs --- libraries/AP_HAL_Linux/HAL_Linux_Class.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/libraries/AP_HAL_Linux/HAL_Linux_Class.h b/libraries/AP_HAL_Linux/HAL_Linux_Class.h index e85d51f844b8d..351ae78e3c5b8 100644 --- a/libraries/AP_HAL_Linux/HAL_Linux_Class.h +++ b/libraries/AP_HAL_Linux/HAL_Linux_Class.h @@ -1,6 +1,4 @@ - -#ifndef __AP_HAL_LINUX_CLASS_H__ -#define __AP_HAL_LINUX_CLASS_H__ +#pragma once #include @@ -11,8 +9,3 @@ class HAL_Linux : public AP_HAL::HAL { HAL_Linux(); void run(int argc, char* const* argv, Callbacks* callbacks) const override; }; - -extern const HAL_Linux AP_HAL_Linux; - -#endif // __AP_HAL_LINUX_CLASS_H__ -