GCS_Console: replace header guard with pragma once

This commit is contained in:
Lucas De Marchi 2016-02-17 23:25:54 -02:00 committed by Andrew Tridgell
parent ec36e06c63
commit 96ad73d198
2 changed files with 2 additions and 11 deletions

View File

@ -1,6 +1,4 @@
#ifndef __GCS_CONSOLE_H__
#define __GCS_CONSOLE_H__
#pragma once
#include <GCS_MAVLink/GCS_MAVLink.h>
@ -21,5 +19,3 @@ void gcs_console_handle_data16(mavlink_message_t* msg);
void gcs_console_handle_data32(mavlink_message_t* msg);
void gcs_console_send(mavlink_channel_t chan);
#endif // __GCS_CONSOLE_H__

View File

@ -1,6 +1,4 @@
#ifndef __SIMPLE_GCS_H__
#define __SIMPLE_GCS_H__
#pragma once
#include <GCS_MAVLink/GCS_MAVLink.h>
@ -10,6 +8,3 @@ bool try_send_statustext(mavlink_channel_t chan, const char *text, int len);
void simplegcs_update(mavlink_channel_t chan);
void handle_message(mavlink_channel_t chan, mavlink_message_t* msg);
#endif // __SIMPLE_GCS_H__