From 14d52e0c03cfcaeb38424ea2f4c99285a3389784 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Tue, 9 Oct 2012 11:12:11 -0700 Subject: [PATCH] AP_Semaphore.h: proper h macros --- libraries/AP_Semaphore/AP_Semaphore.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_Semaphore/AP_Semaphore.h b/libraries/AP_Semaphore/AP_Semaphore.h index d11f595b42..ed865bc9b7 100644 --- a/libraries/AP_Semaphore/AP_Semaphore.h +++ b/libraries/AP_Semaphore/AP_Semaphore.h @@ -3,8 +3,8 @@ /// @file AP_Semaphore.h /// @brief class to ensure conflicts over shared resources are avoided -#ifndef AP_SEMAPHORE -#define AP_SEMAPHORE +#ifndef __AP_SEMAPHORE_H__ +#define __AP_SEMAPHORE_H__ #include #include @@ -36,4 +36,4 @@ protected: ap_semaphore_callback _waiting_callback; // call back procedure of process waiting for sempahore }; -#endif // AP_SEMAPHORE +#endif // __AP_SEMAPHORE_H__